Click here to Skip to main content
15,918,168 members
Home / Discussions / C#
   

C#

 
QuestionNeed code for shell scripting project...urgent Pin
swapnik28-Apr-07 2:18
swapnik28-Apr-07 2:18 
AnswerRe: Need code for shell scripting project...urgent Pin
DavidNohejl28-Apr-07 3:06
DavidNohejl28-Apr-07 3:06 
AnswerRe: Need code for shell scripting project...urgent Pin
zsavas28-Apr-07 13:33
zsavas28-Apr-07 13:33 
QuestionTreeView: when selecting a node, the imageindex becomes 0 Pin
c.bartsch28-Apr-07 2:17
c.bartsch28-Apr-07 2:17 
AnswerRe: TreeView: when selecting a node, the imageindex becomes 0 Pin
Abisodun28-Apr-07 3:37
Abisodun28-Apr-07 3:37 
AnswerRe: TreeView: when selecting a node, the imageindex becomes 0 Pin
c.bartsch28-Apr-07 5:43
c.bartsch28-Apr-07 5:43 
QuestionNeed Article for writing Custom Control. Pin
hdv21228-Apr-07 1:36
hdv21228-Apr-07 1:36 
AnswerRe: Need Article for writing Custom Control. Pin
teejayem28-Apr-07 3:21
teejayem28-Apr-07 3:21 
Questionresize of image draw Pin
Anka_Ame28-Apr-07 1:13
Anka_Ame28-Apr-07 1:13 
AnswerRe: resize of image draw Pin
Christian Graus28-Apr-07 13:02
protectorChristian Graus28-Apr-07 13:02 
QuestionWhat I mean ! Pin
mahmoud wafy28-Apr-07 0:03
mahmoud wafy28-Apr-07 0:03 
GeneralRe: What I mean ! Pin
Guffa28-Apr-07 0:25
Guffa28-Apr-07 0:25 
AnswerRe: What I mean ! Pin
Christian Graus28-Apr-07 0:29
protectorChristian Graus28-Apr-07 0:29 
QuestionA generic error occurred in GDI+. Pin
rushiraj.jhala27-Apr-07 22:02
rushiraj.jhala27-Apr-07 22:02 
AnswerRe: A generic error occurred in GDI+. Pin
Sathesh Sakthivel27-Apr-07 22:30
Sathesh Sakthivel27-Apr-07 22:30 
GeneralRe: A generic error occurred in GDI+. Pin
rushiraj.jhala27-Apr-07 22:55
rushiraj.jhala27-Apr-07 22:55 
GeneralRe: A generic error occurred in GDI+. Pin
Christian Graus27-Apr-07 23:14
protectorChristian Graus27-Apr-07 23:14 
AnswerRe: A generic error occurred in GDI+. Pin
Luc Pattyn28-Apr-07 0:21
sitebuilderLuc Pattyn28-Apr-07 0:21 
AnswerRe: how I can find more than one Column at the same time Pin
Christian Graus27-Apr-07 23:18
protectorChristian Graus27-Apr-07 23:18 
AnswerRe: How can Drage elements Pin
Christian Graus27-Apr-07 23:19
protectorChristian Graus27-Apr-07 23:19 
QuestionTcpListener/TcpClient not working! Pin
Lord Kixdemp27-Apr-07 17:57
Lord Kixdemp27-Apr-07 17:57 
Hello everyone!

I have 2 programs, a server and a client. If I start them both on the same computer, it works flawlessly. However, if I try a computer on the network (which I can do Windows file/printer sharing with) with one of the apps, the client says that the target machine actively refused it.

At first I thought it was my router, since I've been having some problems with it lately. But then I used my neighbor's wireless connection with 2 laptops and tried it, no result. So it's got to be my code.

Server:
server = new TcpListener(port); // port: 77
server.Start();

Client:
sock = new TcpClient(host, port); // host: 'localhost' or '192.168.0.100'; port: 77


As I said, both programs work fine on the same computer. Does anyone know why this might happen? Maybe my neighbor's router is crappy too?

Thanks in advance!

Windows Calculator told me I will die at 28. Frown | :(

AnswerRe: TcpListener/TcpClient not working! Pin
cc_wang27-Apr-07 21:03
cc_wang27-Apr-07 21:03 
AnswerRe: TcpListener/TcpClient not working! Pin
bola_shokry28-Apr-07 0:43
bola_shokry28-Apr-07 0:43 
GeneralRe: TcpListener/TcpClient not working! Pin
Lord Kixdemp28-Apr-07 12:45
Lord Kixdemp28-Apr-07 12:45 
GeneralRe: TcpListener/TcpClient not working! Pin
bola_shokry28-Apr-07 13:11
bola_shokry28-Apr-07 13:11 

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.