McGod Posted November 20, 2006 Share Posted November 20, 2006 I'm making an TCP Based game and I'm trying to figure out a good technique to check if they have logged off. I know TCPTimeout is available but how will my server know they logged off? I'm going to have 3 seperate servers ( Login, Chat, Game ) using SQLite. I was going to use a pre-fabbed chat server but then i tried and its way to confusing. [indent][center][u]Formerly Chip[/u][/center]~UDFs~[/indent][u]IRC.au3 - Allows you to connect to IRC ServersINetCon.au3 - Connects/Disconnects/Check Status of InternetHardware Key - Creates a unique hardware hashScriptComm - Allows you to communicate between scripts using WM_COPYDATA[/u][indent]~Programs~[/indent][indent]SimonAu3ForumsIRC Bot~Web Site~Web Autoit Example[/indent][indent][b][/b][/indent][u][/u] Link to comment Share on other sites More sharing options...
piccaso Posted November 20, 2006 Share Posted November 20, 2006 i dont know if its right but i do it that way: after TCPsend() or TCPRecv() Check for @error and if there is any i assume the connection is closed CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now