Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


WinSock

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
MovEax
Grandmaster Cheater Supreme
Reputation: 0

Joined: 14 Feb 2007
Posts: 1589

PostPosted: Wed Sep 17, 2008 6:30 pm    Post subject: WinSock Reply with quote

In terms of Win Sock if i send a packet to 127.0.0.1 port 8845 (example) will programs programmed to listen on that port on my local machine receive it? Ultimately i want to make a form of server emu for something. I can code it all my self i just want to know if that will work.
Back to top
View user's profile Send private message Send e-mail
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Wed Sep 17, 2008 6:31 pm    Post subject: Reply with quote

Ok first of all, it depends on the program. The program has a to have a socket that is connected to the socket of the client/server, if you dont have that done, then no packets will be recieved.
Back to top
View user's profile Send private message AIM Address MSN Messenger
MovEax
Grandmaster Cheater Supreme
Reputation: 0

Joined: 14 Feb 2007
Posts: 1589

PostPosted: Wed Sep 17, 2008 6:35 pm    Post subject: Reply with quote

slippppppppp wrote:
Ok first of all, it depends on the program. The program has a to have a socket that is connected to the socket of the client/server, if you dont have that done, then no packets will be recieved.

Yes the program has a socket it sends/receives from socket 3852.
Back to top
View user's profile Send private message Send e-mail
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Wed Sep 17, 2008 6:38 pm    Post subject: Reply with quote

Then of course it can reveive the date.
Back to top
View user's profile Send private message AIM Address MSN Messenger
MovEax
Grandmaster Cheater Supreme
Reputation: 0

Joined: 14 Feb 2007
Posts: 1589

PostPosted: Wed Sep 17, 2008 6:43 pm    Post subject: Reply with quote

slippppppppp wrote:
Then of course it can reveive the date.

Okay thanks. I just wasn't sure if it would receive like that. only just started C++ again and i've never used WinSick before. ^.^
Back to top
View user's profile Send private message Send e-mail
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Wed Sep 17, 2008 7:13 pm    Post subject: Reply with quote

If you wanna know if it works or not, Have the client or Server use send(). and then have te other exe use recv, and see if you recv any data Rolling Eyes
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites