Code Require for Arduino UNO R3 connected with esp8266 wifi and 2 channel relay

Hi EveryOne,
I am working on a university project in which i want to control 2 channel relay with the help of wifi. In this regards i am very much confuse about the configuration code. Can anyone send me configuration code related to it and also the mean through which i can send message to arduino.

I have tried many internet solutions but failed my wifi module successfully connects with the router and i can ping it but i dont know how to send send signal to it to set high specified pin of arduino for relay.

Are you saying you want to pass-off someone else's work as your own?

(deleted)

I have tried many internet solutions but failed

If you really want help and not someone to do the work for you, post one of your attempts at coding along with a description of what the code actually does and what you expect the code to do and we can help you to get it working. Please include a schematic of the wiring of the project.

Please read the "how to use this forum-please read" stickies to see how to post code and some hints on how to ask an effective question (see #7 and 11).

spycatcher2k:
@TolpuddleSartre - That's a bit cynical! What the OP is trying to say is they are too lazy to actually learn how to do something, and want to use our years of learning to get his university qualification, then a job where they do not have a clue how to complete because they have NEVER learned how to do it.

{mumbles and looks at shoes} Sorry for being cynical