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 


Direct Connections

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Jan 17, 2009 12:37 pm    Post subject: Direct Connections Reply with quote

I was wondering how a "Direct Connection" is possible. Like the option in AIM for a direct connection so you can show photos and such. How can a direct connection between two clients be possible without port forwarding? Also, how can you transfer the images with packets?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
b6ooy
Grandmaster Cheater
Reputation: 0

Joined: 21 Sep 2006
Posts: 653

PostPosted: Sat Jan 17, 2009 12:43 pm    Post subject: Reply with quote

I want to ask the same question too ..
I've made few programs in C++ using sockets , but the program doesn't connect online ( only throught a private network ) and I cannot do portforward ( I get empty page when typing the modem ip etc.. )
Back to top
View user's profile Send private message
killersamurai
Expert Cheater
Reputation: 0

Joined: 10 Sep 2007
Posts: 197
Location: Colorado

PostPosted: Sat Jan 17, 2009 1:11 pm    Post subject: Reply with quote

P2P I believe. Here is a link to the grouping api used for the P2P infrastructure
http://msdn.microsoft.com/en-us/library/aa371031.aspx
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Jan 17, 2009 3:19 pm    Post subject: Reply with quote

Thanks killer I'll take a look at it.

EDIT:

Is this suppose to work on a WAN?

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Sun Jan 18, 2009 5:36 am    Post subject: Reply with quote

A lot of those major programs use a form of NAT Traversal, like STUN or UDP hole punching.
In short it works like this:
client A and B want to connect directly to each other, but don't have ports forwarded. They both connect to a server (which does have ports forwarded). This will automatically open up an outbound port in the router, and the server will for example send the port number of client A to client B. Then the server will disconnect and client B will quickly try to connect to client A while the port is still open.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sun Jan 18, 2009 3:08 pm    Post subject: Reply with quote

tombana wrote:
A lot of those major programs use a form of NAT Traversal, like STUN or UDP hole punching.
In short it works like this:
client A and B want to connect directly to each other, but don't have ports forwarded. They both connect to a server (which does have ports forwarded). This will automatically open up an outbound port in the router, and the server will for example send the port number of client A to client B. Then the server will disconnect and client B will quickly try to connect to client A while the port is still open.


Wow, thanks tombana! I'll definitely look into that! But as for my second question, how exactly would you transfer images over sockets?

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger 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