Click here to Skip to main content
15,898,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: The Immediate Window Pin
Anthony Mushrow7-Mar-08 13:01
professionalAnthony Mushrow7-Mar-08 13:01 
GeneralRe: The Immediate Window Pin
Jammer7-Mar-08 13:15
Jammer7-Mar-08 13:15 
GeneralRe: The Immediate Window Pin
J$7-Mar-08 13:49
J$7-Mar-08 13:49 
GeneralRe: The Immediate Window Pin
Jammer7-Mar-08 13:54
Jammer7-Mar-08 13:54 
GeneralRe: The Immediate Window Pin
J$7-Mar-08 14:04
J$7-Mar-08 14:04 
GeneralRe: The Immediate Window Pin
Jammer7-Mar-08 14:10
Jammer7-Mar-08 14:10 
GeneralRe: The Immediate Window Pin
Jammer7-Mar-08 14:05
Jammer7-Mar-08 14:05 
GeneralNet.Sockets - Internet to LAN Connection Exception... Pin
Trapper-Hell7-Mar-08 12:33
Trapper-Hell7-Mar-08 12:33 
This answer has probably already been answered but after thorough searching I couldn't quite find what I was looking for. Anywayz the problem is as follows....

I have created a server and client program connecting through the use of sockets...

Now the client will connect with the server (which is already running) and send a file... After quite some testing on same-PC basis I tried it across the internet. A friend of mine is connected in a LAN having her IP like this: 192.168.2.102 . Now, when I run the server and the friend runs the client it all works fine, but not the other way round!

Obviously asking my client to connect to the friend's server 192.168.2.102 is useless since it's only an internal IP. After revealing the friend's external IP from whatismyip.com it seemed like I could solve the problem, but the server refuses to connect with the error below:

Unhandled exception occurred: The requested address is not valid in its context


Is there a way to solve this error?Confused | :confused: Please help!
GeneralRe: Net.Sockets - Internet to LAN Connection Exception... Pin
Anthony Mushrow7-Mar-08 13:04
professionalAnthony Mushrow7-Mar-08 13:04 
GeneralCustom style on a Form Pin
nike_arh7-Mar-08 12:27
nike_arh7-Mar-08 12:27 
GeneralRe: Custom style on a Form Pin
Christian Graus7-Mar-08 21:49
protectorChristian Graus7-Mar-08 21:49 
GeneralRe: Custom style on a Form Pin
nike_arh8-Mar-08 4:29
nike_arh8-Mar-08 4:29 
QuestionUsing a Dictionary, Generic List or a good old fashioned Array??? Pin
Jammer7-Mar-08 9:30
Jammer7-Mar-08 9:30 
GeneralRe: Using a Dictionary, Generic List or a good old fashioned Array??? Pin
Pete O'Hanlon7-Mar-08 9:44
mvePete O'Hanlon7-Mar-08 9:44 
GeneralRe: Using a Dictionary, Generic List or a good old fashioned Array??? Pin
Jammer7-Mar-08 10:02
Jammer7-Mar-08 10:02 
GeneralRe: Using a Dictionary, Generic List or a good old fashioned Array??? Pin
Pete O'Hanlon7-Mar-08 10:04
mvePete O'Hanlon7-Mar-08 10:04 
GeneralRe: Using a Dictionary, Generic List or a good old fashioned Array??? Pin
Jammer7-Mar-08 10:23
Jammer7-Mar-08 10:23 
GeneralRe: Using a Dictionary, Generic List or a good old fashioned Array??? Pin
Luc Pattyn7-Mar-08 10:40
sitebuilderLuc Pattyn7-Mar-08 10:40 
GeneralRe: Using a Dictionary, Generic List or a good old fashioned Array??? Pin
Jammer7-Mar-08 10:42
Jammer7-Mar-08 10:42 
GeneralAnchors, MinSize, and AutoScroll Pin
eggsovereasy7-Mar-08 9:04
eggsovereasy7-Mar-08 9:04 
GeneralRe: Anchors, MinSize, and AutoScroll Pin
Luc Pattyn7-Mar-08 9:23
sitebuilderLuc Pattyn7-Mar-08 9:23 
GeneralRe: Anchors, MinSize, and AutoScroll Pin
eggsovereasy7-Mar-08 11:41
eggsovereasy7-Mar-08 11:41 
GeneralTab delimited parsing help Pin
CeleryGod7-Mar-08 8:57
CeleryGod7-Mar-08 8:57 
GeneralRe: Tab delimited parsing help Pin
snorkie7-Mar-08 9:13
professionalsnorkie7-Mar-08 9:13 
GeneralRe: Tab delimited parsing help Pin
KaptinKrunch7-Mar-08 10:57
KaptinKrunch7-Mar-08 10:57 

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.