Click here to Skip to main content
16,010,876 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionimpliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 1:06
S.Aijaz13-Aug-08 1:06 
AnswerRe: impliment opening of file in window downloaded from server Pin
Ashfield13-Aug-08 2:13
Ashfield13-Aug-08 2:13 
GeneralRe: impliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 2:23
S.Aijaz13-Aug-08 2:23 
GeneralRe: impliment opening of file in window downloaded from server Pin
Ashfield13-Aug-08 3:11
Ashfield13-Aug-08 3:11 
GeneralRe: impliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 18:00
S.Aijaz13-Aug-08 18:00 
GeneralRe: impliment opening of file in window downloaded from server Pin
rprateek13-Aug-08 18:46
rprateek13-Aug-08 18:46 
GeneralRe: impliment opening of file in window downloaded from server Pin
S.Aijaz13-Aug-08 19:04
S.Aijaz13-Aug-08 19:04 
QuestionMultiple Socket Connection Pin
MatthysDT12-Aug-08 23:31
MatthysDT12-Aug-08 23:31 
How do I create a server socket which can accept multiple connection on the same port?

Just about every source I found on the internet explains that a Socket-array is used to do this, but that doesn't make sense to me. Even if I use a socket array, if mySocket(1) listens on port 9700, mySocket(2) cannot listen on that same port since the "address is already in use".

I've read sources explaining that the socket should be "moved off" to another port after the initial connection, which means that the host should reply to the incoming connection with a new port number... is there a standard global way of doing this?

Example... I can VNC my PC over the internet from two different VNC clients at the same time i.e on the same port, how does that server accept more than one connection? "Moving the port off" doesn't seem like a viable solution since the router only has one port forwarding entry on a single port, yet it work fine for multiple connections... but how does this work?

The application I am tasked to upgrade is a VB6 application, hence I'm using Winsock, but help in .Net is just as fine, I'm more after the principal than the actual code.

Kind Regards


AnswerRe: Multiple Socket Connection Pin
Oktay113-Aug-08 0:12
Oktay113-Aug-08 0:12 
AnswerRe: Multiple Socket Connection Pin
supercat913-Aug-08 10:53
supercat913-Aug-08 10:53 
GeneralRe: Multiple Socket Connection Pin
MatthysDT13-Aug-08 20:39
MatthysDT13-Aug-08 20:39 
QuestionUsing Wscript.Exec [modified] Pin
helelark12312-Aug-08 23:23
helelark12312-Aug-08 23:23 
AnswerRe: Using Wscript.Exec Pin
Dave Kreskowiak13-Aug-08 1:48
mveDave Kreskowiak13-Aug-08 1:48 
GeneralRe: Using Wscript.Exec Pin
helelark12313-Aug-08 2:26
helelark12313-Aug-08 2:26 
GeneralRe: Using Wscript.Exec Pin
Uros Calakovic13-Aug-08 4:48
Uros Calakovic13-Aug-08 4:48 
QuestionSend Var from web site to web site Pin
SAadmin12-Aug-08 22:06
SAadmin12-Aug-08 22:06 
AnswerRe: Send Var from web site to web site Pin
Christian Graus12-Aug-08 22:12
protectorChristian Graus12-Aug-08 22:12 
GeneralRe: Send Var from web site to web site Pin
SAadmin12-Aug-08 22:20
SAadmin12-Aug-08 22:20 
GeneralRe: Send Var from web site to web site Pin
Christian Graus12-Aug-08 22:30
protectorChristian Graus12-Aug-08 22:30 
GeneralRe: Send Var from web site to web site Pin
SAadmin12-Aug-08 22:37
SAadmin12-Aug-08 22:37 
GeneralRe: Send Var from web site to web site Pin
Christian Graus12-Aug-08 22:38
protectorChristian Graus12-Aug-08 22:38 
GeneralRe: Send Var from web site to web site Pin
SAadmin12-Aug-08 22:49
SAadmin12-Aug-08 22:49 
GeneralRe: Send Var from web site to web site Pin
sumit703412-Aug-08 22:56
sumit703412-Aug-08 22:56 
GeneralRe: Send Var from web site to web site Pin
SAadmin12-Aug-08 23:05
SAadmin12-Aug-08 23:05 
GeneralRe: Send Var from web site to web site Pin
sumit703412-Aug-08 23:13
sumit703412-Aug-08 23:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.