-
Sockets
Im probibly going to sound stupid here but, my brother told me sockets in VB.Net where very easy, but I cant find out for the life of me how to connect to them and send a simple message (I have worked with vb 6) Could some one please show me how i would
1. connect to 127.0.0.1 at port 1001
2. Send a message
3. Open a port
4. reply to the message show.
Tnx a bunch. :)
-
heh..maybe easy but we are still looking for some good samples ourselves..have yet to find any good ones yet..ill take another look around.
-
-
I got nothing else to do so I'll go ahead and write a little web client for you...gimme like 20, 30 minutes.
-
1 Attachment(s)
A little HTTP client. You can only change the URI in coding. Didn't feel like doing the rest.
-
lol
And All this time I was trying to go the hard way :D
I got something like
dim socket1 as system.net.sockets.socket
dim ipadd as system.net.ipendpoint
ipadd.port = 10 //get an error here
ipadd.address.address("127.0.0.1") //get and error here
socket1.connect(ipadd)
You way is Much easyer :D
-