Click here to Skip to main content
15,890,186 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a Wizard Type Application Pin
Azel Low27-Sep-03 6:15
Azel Low27-Sep-03 6:15 
GeneralProblems in VS .NET 2003 Pin
abbomar25-Sep-03 9:24
abbomar25-Sep-03 9:24 
Generalre: socket connection to a url Pin
mikemilano25-Sep-03 8:23
mikemilano25-Sep-03 8:23 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 8:34
devvvy25-Sep-03 8:34 
GeneralRe: re: socket connection to a url Pin
mikemilano25-Sep-03 8:40
mikemilano25-Sep-03 8:40 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 8:43
devvvy25-Sep-03 8:43 
GeneralRe: re: socket connection to a url Pin
mikemilano25-Sep-03 9:04
mikemilano25-Sep-03 9:04 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 9:16
devvvy25-Sep-03 9:16 
I can't answer your question. If you can connect to your localhost and not to a remote address, ten thousand things can go wrong. I don't think the fact that UPS application is expecting some data (perhaps password) has anything to do with whether or not its TcpListener accepts or reject your call - it must accept the incoming connection (TcpClient) before it can accepts anything it expected. Therefore, should there be a problem, it shouldn't be this. If it is indeed expecting some data, say userID/passed, it should first TcpListener.AcceptConnection. Then, the application should read from the network stream - if it can't find the expected data, drop the connection. But in this case, it has already accepted the connection before it drops it - therefore, Connect shouldn't fail. But TcpClient.Send(...) will - you can't send to a closed socket.



norm
GeneralRe: re: socket connection to a url Pin
mikemilano25-Sep-03 9:21
mikemilano25-Sep-03 9:21 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 9:30
devvvy25-Sep-03 9:30 
GeneralRe: re: socket connection to a url Pin
Blake Coverett25-Sep-03 20:49
Blake Coverett25-Sep-03 20:49 
GeneralRe: re: socket connection to a url Pin
devvvy25-Sep-03 23:24
devvvy25-Sep-03 23:24 
GeneralRe: re: socket connection to a url Pin
Blake Coverett25-Sep-03 20:57
Blake Coverett25-Sep-03 20:57 
GeneralWindows Form DataGrid paging Pin
devvvy25-Sep-03 8:10
devvvy25-Sep-03 8:10 
GeneralInterops and Strong Names Pin
je_gonzalez25-Sep-03 7:55
je_gonzalez25-Sep-03 7:55 
GeneralRe: Interops and Strong Names Pin
James T. Johnson25-Sep-03 8:47
James T. Johnson25-Sep-03 8:47 
GeneralRe: Interops and Strong Names Pin
je_gonzalez25-Sep-03 8:53
je_gonzalez25-Sep-03 8:53 
QuestionHow to execute UNIX commands in C# Pin
Buckin25-Sep-03 6:33
Buckin25-Sep-03 6:33 
AnswerRe: How to execute UNIX commands in C# Pin
Anonymous25-Sep-03 17:41
Anonymous25-Sep-03 17:41 
GeneralRe: How to execute UNIX commands in C# Pin
Buckin25-Sep-03 17:56
Buckin25-Sep-03 17:56 
GeneralWindows Form DataGrid OnClick Pin
devvvy25-Sep-03 6:07
devvvy25-Sep-03 6:07 
GeneralRe: Windows Form DataGrid onclick Pin
ankita patel25-Sep-03 8:29
ankita patel25-Sep-03 8:29 
GeneralInserting Excel page breaks Pin
Anonymous25-Sep-03 5:53
Anonymous25-Sep-03 5:53 
GeneralC# structures Pin
Simon Wren25-Sep-03 5:32
professionalSimon Wren25-Sep-03 5:32 
GeneralRe: C# structures Pin
leppie25-Sep-03 7:11
leppie25-Sep-03 7: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.