Click here to Skip to main content
15,921,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Binary converting byte to sbyte Pin
Marco [Stinger]27-Jan-06 22:21
Marco [Stinger]27-Jan-06 22:21 
GeneralRe: Binary converting byte to sbyte Pin
Saravanan_article26-Jan-06 19:00
Saravanan_article26-Jan-06 19:00 
QuestionThreadPool and Application Exit Pin
MrEyes26-Jan-06 3:39
MrEyes26-Jan-06 3:39 
AnswerRe: ThreadPool and Application Exit Pin
leppie26-Jan-06 6:39
leppie26-Jan-06 6:39 
Questionwhere is the windows namespace? Pin
GDavy26-Jan-06 2:41
GDavy26-Jan-06 2:41 
AnswerRe: where is the windows namespace? Pin
J4amieC26-Jan-06 3:11
J4amieC26-Jan-06 3:11 
GeneralRe: where is the windows namespace? Pin
GDavy26-Jan-06 3:39
GDavy26-Jan-06 3:39 
QuestionC# TcpListener connection problem Pin
Johan Glysing26-Jan-06 1:41
Johan Glysing26-Jan-06 1:41 
First of all.. ive posted this question in 2 other forums without any luck (or responses)
so i thought id try this great forum with lots and lots of talented people Wink | ;)

...

Ive had some problems getting the TcpListener under C# to find and accept
connections from a client with my client app and/or a simple telnet connection.
Connecting locally (localhost / 127.0.0.1) works fine but externally does not.

First i thought that it must be a firewall that was refusing the connections,
but even with it shut off (on both the server and client) i still cant get it to connect.

Has anyone had the same problem and if so, what should i do to fix it?
Im using WinXP Pro, .NET 1.1 and VS 2003.

Heres a simplified version of how i setup the tcp listener on the server:

// Initialize the tcp listener for connection clients
TcpListener tcpServerListener = new TcpListener(IPAddress.Any, 8002);

// Start the tcp listener
tcpServerListener.Start();

// Wait for an incomming connection from a client
Socket socket = tcpServerListener.AcceptSocket();

// Handle the connected client here

AnswerRe: C# TcpListener connection problem Pin
snouto26-Jan-06 4:19
snouto26-Jan-06 4:19 
GeneralRe: C# TcpListener connection problem Pin
Johan Glysing26-Jan-06 20:35
Johan Glysing26-Jan-06 20:35 
GeneralRe: C# TcpListener connection problem Pin
snouto26-Jan-06 23:28
snouto26-Jan-06 23:28 
QuestiongetFunctionPointer() Pin
winx26-Jan-06 1:36
winx26-Jan-06 1:36 
AnswerRe: getFunctionPointer() Pin
winx26-Jan-06 1:41
winx26-Jan-06 1:41 
GeneralRe: getFunctionPointer() Pin
James Gupta26-Jan-06 5:16
professionalJames Gupta26-Jan-06 5:16 
GeneralRe: getFunctionPointer() Pin
Saravanan_article26-Jan-06 19:07
Saravanan_article26-Jan-06 19:07 
GeneralRe: getFunctionPointer() Pin
winx26-Jan-06 20:42
winx26-Jan-06 20:42 
QuestionCheck Signing Key Pin
gnjunge26-Jan-06 1:16
gnjunge26-Jan-06 1:16 
AnswerRe: Check Signing Key Pin
leppie26-Jan-06 6:43
leppie26-Jan-06 6:43 
AnswerRe: Check Signing Key Pin
MrEyes26-Jan-06 7:38
MrEyes26-Jan-06 7:38 
QuestionCreate a textbox control in runtime mode Pin
NewbieDude26-Jan-06 0:38
NewbieDude26-Jan-06 0:38 
AnswerRe: Create a textbox control in runtime mode Pin
Ahmad Mahmoud [candseeme]26-Jan-06 0:38
Ahmad Mahmoud [candseeme]26-Jan-06 0:38 
GeneralRe: Create a textbox control in runtime mode Pin
NewbieDude26-Jan-06 0:47
NewbieDude26-Jan-06 0:47 
GeneralRe: Create a textbox control in runtime mode Pin
NewbieDude26-Jan-06 0:51
NewbieDude26-Jan-06 0:51 
GeneralRe: Create a textbox control in runtime mode Pin
Ahmad Mahmoud [candseeme]26-Jan-06 0:56
Ahmad Mahmoud [candseeme]26-Jan-06 0:56 
NewsStartup Editor Pin
Ahmad Mahmoud [candseeme]26-Jan-06 0:35
Ahmad Mahmoud [candseeme]26-Jan-06 0:35 

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.