Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using C# dll in VB? Pin
Kannan Kalyanaraman9-Dec-02 22:37
Kannan Kalyanaraman9-Dec-02 22:37 
GeneralRe: Using C# dll in VB? Pin
Rickard Andersson209-Dec-02 23:08
Rickard Andersson209-Dec-02 23:08 
GeneralRe: Using C# dll in VB? Pin
Kannan Kalyanaraman9-Dec-02 23:13
Kannan Kalyanaraman9-Dec-02 23:13 
GeneralRe: Using C# dll in VB? Pin
Rickard Andersson209-Dec-02 23:50
Rickard Andersson209-Dec-02 23:50 
GeneralRe: Using C# dll in VB? Pin
Kannan Kalyanaraman10-Dec-02 0:00
Kannan Kalyanaraman10-Dec-02 0:00 
AnswerRe: Using C# dll in VB? Pin
Kannan Kalyanaraman9-Dec-02 22:44
Kannan Kalyanaraman9-Dec-02 22:44 
GeneralQuestion on SocketOptionName.ReceiveTimeout Pin
yccheok9-Dec-02 17:50
yccheok9-Dec-02 17:50 
GeneralRe: Question on SocketOptionName.ReceiveTimeout Pin
grv57513-Dec-02 4:07
grv57513-Dec-02 4:07 
1) I'm using
socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendTimeout, 60000);
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout, 60000);
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer, 1024);
socket.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.NoDelay, 1);

So I think it should be SocketOptionLevel.Socket. Found it elsewhere on google.

2) Set a breakpoint on that line and trace over it. It will either fire an exception or go to the next line. Don't quite remember. Check the return values for receive as well.
GeneralRunning Application In Another Process Without Showing Console Window Pin
yccheok9-Dec-02 17:49
yccheok9-Dec-02 17:49 
GeneralRe: Running Application In Another Process Without Showing Console Window Pin
Kannan Kalyanaraman9-Dec-02 22:47
Kannan Kalyanaraman9-Dec-02 22:47 
GeneralRe: Running Application In Another Process Without Showing Console Window Pin
Richard Deeming10-Dec-02 0:03
mveRichard Deeming10-Dec-02 0:03 
GeneralProblem with arraylist assignment Pin
djkno39-Dec-02 13:59
djkno39-Dec-02 13:59 
GeneralRe: Problem with arraylist assignment Pin
Rob Graham9-Dec-02 14:58
Rob Graham9-Dec-02 14:58 
GeneralRe: Problem with arraylist assignment Pin
djkno39-Dec-02 21:18
djkno39-Dec-02 21:18 
GeneralRe: Problem with arraylist assignment Pin
Burt Harris9-Dec-02 21:42
Burt Harris9-Dec-02 21:42 
GeneralRe: Problem with arraylist assignment Pin
James T. Johnson10-Dec-02 0:58
James T. Johnson10-Dec-02 0:58 
GeneralRe: Problem with arraylist assignment Pin
Richard Deeming10-Dec-02 0:13
mveRichard Deeming10-Dec-02 0:13 
GeneralRe: Problem with arraylist assignment Pin
djkno310-Dec-02 6:11
djkno310-Dec-02 6:11 
Generalgoto in C# Pin
afronaut9-Dec-02 11:05
afronaut9-Dec-02 11:05 
GeneralRe: goto in C# Pin
leppie9-Dec-02 11:30
leppie9-Dec-02 11:30 
GeneralRe: goto in C# Pin
Not Active9-Dec-02 13:14
mentorNot Active9-Dec-02 13:14 
GeneralRe: goto in C# Pin
ryancrawcour9-Dec-02 20:06
ryancrawcour9-Dec-02 20:06 
GeneralRe: goto in C# Pin
Christian Graus9-Dec-02 21:59
protectorChristian Graus9-Dec-02 21:59 
GeneralGet system information Pin
sammyh9-Dec-02 10:10
sammyh9-Dec-02 10:10 
GeneralRe: Get system information Pin
Kannan Kalyanaraman9-Dec-02 22:50
Kannan Kalyanaraman9-Dec-02 22:50 

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.