Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: TcpListener/TcpClient not working! Pin
Lord Kixdemp28-Apr-07 16:50
Lord Kixdemp28-Apr-07 16:50 
GeneralRe: TcpListener/TcpClient not working! Pin
Lord Kixdemp28-Apr-07 17:04
Lord Kixdemp28-Apr-07 17:04 
QuestionInternetDial!!! Pin
myousufq27-Apr-07 11:49
myousufq27-Apr-07 11:49 
QuestionBluetooth project + Bluetooth Stack + Help :( Pin
NiZaR.TecH27-Apr-07 11:47
NiZaR.TecH27-Apr-07 11:47 
Questionmulti-tire architecture Pin
mehrdadc4827-Apr-07 10:44
mehrdadc4827-Apr-07 10:44 
AnswerRe: multi-tire architecture Pin
Christian Graus28-Apr-07 0:29
protectorChristian Graus28-Apr-07 0:29 
Questionshowing progress of a running Query Pin
Rocky#27-Apr-07 10:33
Rocky#27-Apr-07 10:33 
AnswerRe: showing progress of a running Query Pin
Christian Graus27-Apr-07 10:46
protectorChristian Graus27-Apr-07 10:46 
GeneralRe: showing progress of a running Query Pin
Paul Conrad27-Apr-07 16:07
professionalPaul Conrad27-Apr-07 16:07 
AnswerRe: showing progress of a running Query Pin
overfreeze27-Apr-07 12:17
overfreeze27-Apr-07 12:17 
Question[Message Deleted] Pin
mahmoud wafy27-Apr-07 8:37
mahmoud wafy27-Apr-07 8:37 
AnswerRe: How Look over the field at the same time Pin
Wayne Phipps27-Apr-07 9:06
Wayne Phipps27-Apr-07 9:06 
AnswerI am very sorry to repeat the question twice Pin
mahmoud wafy27-Apr-07 13:45
mahmoud wafy27-Apr-07 13:45 

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.