Click here to Skip to main content
15,926,144 members
Home / Discussions / C#
   

C#

 
GeneralOpenDialog Pin
fredza9-Dec-02 21:36
fredza9-Dec-02 21:36 
GeneralControl bar Pin
fredza9-Dec-02 21:33
fredza9-Dec-02 21:33 
GeneralRe: Control bar Pin
David Stone10-Dec-02 4:56
sitebuilderDavid Stone10-Dec-02 4:56 
QuestionUsing C# dll in VB? Pin
$iva9-Dec-02 20:20
$iva9-Dec-02 20:20 
AnswerRe: Using C# dll in VB? Pin
Burt Harris9-Dec-02 21:47
Burt Harris9-Dec-02 21:47 
GeneralRe: Using C# dll in VB? Pin
Nick Parker10-Dec-02 4:20
protectorNick Parker10-Dec-02 4:20 
AnswerRe: Using C# dll in VB? Pin
Rickard Andersson209-Dec-02 21:48
Rickard Andersson209-Dec-02 21:48 
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 

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.