Thursday, July 30, 2009

How can i code sockets in C#? Specifically im looking to send text data over port 80 to a php server.?

Opening TCP sockets will require knowledge of underlying HTTP protocols... use the HttpWebRequest class instead. Additionally, you need to know what you are sending text to. Usually, there will be an associated PHP script on the server which has a predefined set of information that it accepts. That data is sent in key/value pairs that looks very similar to the URL at the top of your browser above... somevariable=sometext%26amp;someothervar=somea...

love song lyrics

No comments:

Post a Comment