Wb-FreeKill Posted March 29, 2005 Share Posted March 29, 2005 I wonder if you could somehow accept if someone connects to Larry's dll chat.. like: If someone try to connect to server then, msgbox if you wish to accept, else reject? As it's now, the server accepts when someone connects right away Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 29, 2005 Author Share Posted March 29, 2005 "accept" is just a wrapper of the Winsock accept() function. They didn't need to name it accept... they could have named it cajeebers()... what you need to do is code a function that takes info from the client that is "accepted" and determine by your own means if that client is "ACCEPTABLE"... it is not a shortcoming of the DLL, but a lack of knowledge of TCP programming that you may be suffering from...Lar.<{POST_SNAPBACK}>hmm, don't really understand what to do could really need this. But without the accept in the server, would it then connect?..Though about something likeIf client try to connect then msgbox(0,"test","Accept?") If yes then $RogueSocket = DLLCall(@WindowsDir & "\au3xtra.dll","int","TCPAccept", "int", $MainSocket) else EndIfJust a quick example Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted March 29, 2005 Author Share Posted March 29, 2005 ahh, possible? 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