|
-
Dec 28th, 2006, 11:21 AM
#1
Thread Starter
Fanatic Member
IMs connecting to the internet...
I know this is a very broad spectrum question...
But how do programs such as MSN, AIM, YIM, Myspace, ICQ and all those actually connect to the internet?
I never opened a port for them in my router but i do believe that they use the TCP protocol.
Do they somehow configure my router through a uPNP or what ever it's called?
The router's firewall should stop it shouldn't it?
Also, what could i search for to find the code for this answer... or what is the code for this answer... this is a problem that i always have when making programs that communicate over the internet.
In my router's Port Forwarding table, i noticed that there's a free UDP Port open, the port number is 161 and it's set to the broadcast address for the network that i'm on (which means it will allow any IP address on the network to recieve traffic through this port).
-
Dec 28th, 2006, 01:35 PM
#2
Fanatic Member
Re: IMs connecting to the internet...
Normally the ports are open to all users ...from the inside
and locked from the outside.
Users can get out, but not in.
Port forwarding is users entering from the outside and you want to direct them to a specific computer.
Example, Public address (100.100.100.100) can point to 192.168.1.42
This could be one port (port 80) or many or all.
I am running http://www.wfshome.com/ on one of my many computers
Did this help?
Alpha Micro: Alpha Basic, AS400 V5r2, EDI (Trusted Link/ Inovis.com),Access AS/400 via VB6, Qbasic for data conversions. A mix of Hardware too. ASCII Table , New Number to Words/66 digits , AS/400(v5r2) VB6 Viewer/Ask for code(ODBC) ^ What Is Transferring? , Check your Ports #Perfect Passwords , *Slide Bar Example , Logoff, Restart, Shut-Down PC *Keep Form On Top , Opaque Form ^ Create Objects at Run Time @ Check Key Caps Locks # GetTickCount(System Up Time) * Convert text to Excel & Collected Icons + Resize: Form/Text box ^ PC GateWay via Shell $ Drag & Drop Game ! PopUpMenu *Print File/no Open# Timer on Mult Forms ~ Splash & Mult Forms & Lots of Comments + Random/Timer/Guess * Dec >Hex >Oct >Bin % Get MAC (NIC) < saving to Registry > Wookiee Cookies \ BackUpDisk / World Conection SpeedTest $ Glossary Commonly Used Terms # phonetic list @ Detailed Computer Scan
When posting Code, Use tags.. [CODE] *Your Code* [/CODE]
-
Dec 29th, 2006, 03:07 PM
#3
Thread Starter
Fanatic Member
Re: IMs connecting to the internet...
I used to use that program!
Yes, that helped. Yeah, it's to allow external data to come in, that's what ports are for... but the problem is that when you recieve a message on say MSN, there has to be a port open for that. How does this happen?
-
Dec 30th, 2006, 01:30 AM
#4
Fanatic Member
Re: IMs connecting to the internet...
To receive a message, a few ways. You received a pop-up via port 80, or there is a program running and it has a port open.
https://www.grc.com/x/ne.dll?bh0bkyd2
This will check all ports, or click on ... "Common Ports"
If this answers your question, then close Thread, if not, I'm here.
Alpha Micro: Alpha Basic, AS400 V5r2, EDI (Trusted Link/ Inovis.com),Access AS/400 via VB6, Qbasic for data conversions. A mix of Hardware too. ASCII Table , New Number to Words/66 digits , AS/400(v5r2) VB6 Viewer/Ask for code(ODBC) ^ What Is Transferring? , Check your Ports #Perfect Passwords , *Slide Bar Example , Logoff, Restart, Shut-Down PC *Keep Form On Top , Opaque Form ^ Create Objects at Run Time @ Check Key Caps Locks # GetTickCount(System Up Time) * Convert text to Excel & Collected Icons + Resize: Form/Text box ^ PC GateWay via Shell $ Drag & Drop Game ! PopUpMenu *Print File/no Open# Timer on Mult Forms ~ Splash & Mult Forms & Lots of Comments + Random/Timer/Guess * Dec >Hex >Oct >Bin % Get MAC (NIC) < saving to Registry > Wookiee Cookies \ BackUpDisk / World Conection SpeedTest $ Glossary Commonly Used Terms # phonetic list @ Detailed Computer Scan
When posting Code, Use tags.. [CODE] *Your Code* [/CODE]
-
Dec 30th, 2006, 02:18 AM
#5
Re: IMs connecting to the internet...
-
Dec 30th, 2006, 11:08 AM
#6
Re: IMs connecting to the internet...
they dont have to port forward because your MSN/Yahoo/AIM client makes outgoing connections. Its as simple as that. You only port forward for incoming connections.
-
Dec 30th, 2006, 01:47 PM
#7
Thread Starter
Fanatic Member
Re: IMs connecting to the internet...
So even though the connection is made out going... Data can still come in?
That means if i have a main server that accepts in comming connections that i can just make programs that make outgoing connections and they can recieve data off each other via this main server?
-
Dec 30th, 2006, 01:54 PM
#8
Re: IMs connecting to the internet...
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 30th, 2006, 02:14 PM
#9
Fanatic Member
Re: IMs connecting to the internet...
So even though the connection is made out going... Data can still come in?
That means if i have a main server that accepts in comming connections that i can just make programs that make outgoing connections and they can recieve data off each other via this main server?
You are mixing ports opened for incomming data and ports opened for outgoing data.
Don't ! !
When you visit a web site, port 80 is open for out-going and returning ( this is how the packets of data are designed) Someone trying to gain access to your port 80...will not. And, the router might have these ports turned off...the server will not be able to access them...Did you try ...Check your Ports ?...my link
Alpha Micro: Alpha Basic, AS400 V5r2, EDI (Trusted Link/ Inovis.com),Access AS/400 via VB6, Qbasic for data conversions. A mix of Hardware too. ASCII Table , New Number to Words/66 digits , AS/400(v5r2) VB6 Viewer/Ask for code(ODBC) ^ What Is Transferring? , Check your Ports #Perfect Passwords , *Slide Bar Example , Logoff, Restart, Shut-Down PC *Keep Form On Top , Opaque Form ^ Create Objects at Run Time @ Check Key Caps Locks # GetTickCount(System Up Time) * Convert text to Excel & Collected Icons + Resize: Form/Text box ^ PC GateWay via Shell $ Drag & Drop Game ! PopUpMenu *Print File/no Open# Timer on Mult Forms ~ Splash & Mult Forms & Lots of Comments + Random/Timer/Guess * Dec >Hex >Oct >Bin % Get MAC (NIC) < saving to Registry > Wookiee Cookies \ BackUpDisk / World Conection SpeedTest $ Glossary Commonly Used Terms # phonetic list @ Detailed Computer Scan
When posting Code, Use tags.. [CODE] *Your Code* [/CODE]
-
Jan 4th, 2007, 02:51 PM
#10
Re: IMs connecting to the internet...
 Originally Posted by Slyke
So even though the connection is made out going... Data can still come in?
The only thing a NAT device prevents is the initial incoming connection - that has nothing to do with incoming data. Data can flow both ways on any connection, regardless of which end made the connection.
That means if i have a main server that accepts in comming connections that i can just make programs that make outgoing connections and they can recieve data off each other via this main server?
That's how all the IM programs work. Every user makes an outgoing connection (for both outgoing and incoming data) to the server. If 'A' sends data to 'B', 'A's computer sends the data to the server, with 'B' marked as the recipient, and the server forwards the data to 'B's computer.
You just have to develop a protocol. How are the users designated? (Names? Numbers? IP addresses?) How is the initial message formed? Start of message? Recipient? Sender? End of message? Is the server going to wait for the end of message mark before sending it to the recipient, send each packet as received, receive and send every character? Is the recipient going to send back an acknowledgement? All that sort of stuff.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|