Shoutbox

Creating TCP/IP Connection - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Creating TCP/IP Connection (/showthread.php?tid=70310)

Creating TCP/IP Connection by Blaggi on 01-04-2007 at 10:36 PM

Hey there.
First of all: I searched.. found nothing :(

I have a gameserver, and i want to connect to it, and keep that connection alive, in background.

But how do i create a socket?
Would be nice if someone would post a snippet to do that =)
I only need the method to create the socket, connnect it and get received buffer.
writing data to it would also be great, but its not that important =)
Is that possible?