Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port
Client Server UDP TCP Same Port Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Go Back  Xtreme Visual Basic Talk > > > Client Server UDP TCP Same Port


Reply
 
Thread Tools Display Modes
  #1  
Old 04-07-2009, 05:14 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default Client Server UDP TCP Same Port


Well Im making this in VB6, is it possible to Listen UDP for incoming information and have a TCP socket connect through the same port? Isent it possible if your Local Port to the TCP is a different port then the remote port you are connecting to?

For Example

The UDP socket Binds and Listen on Port 80
The TCP port binds itself to a High port like 65000
The TCP makes a connect request to some foreign ip on port 80

Is this something close that IE does like when you netstat, which allows you to connect to multiple port 80s on different web servers like Google and yahoo?

EDIT: Reading over Beej's Network guide, It make work if I BIND the socket with Windows API/Winsock control correct?
if you do not bind the port does it assume the localport = the remoteport which is the reason why a error is triggered?
if so what is the safest way to bind a TCP port to a unused local port?
__________________
Http://ControllingTheInter.Net
My General Computer Forum, From Security To Programming And Back To Troubleshooting.

Last edited by AgentSmithers; 04-07-2009 at 05:24 PM.
Reply With Quote
  #2  
Old 04-13-2009, 12:48 PM
AgentSmithers AgentSmithers is offline
Contributor
 
Join Date: Jan 2005
Location: SOCal
Posts: 492
Default

Anyone have any Idea's?
__________________
Http://ControllingTheInter.Net
My General Computer Forum, From Security To Programming And Back To Troubleshooting.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
 
Client Server UDP TCP Same Port
Client Server UDP TCP Same Port
 
-->