Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to determine if two C# exe come from the same source [modified] Pin
Luc Pattyn14-Jan-09 10:12
sitebuilderLuc Pattyn14-Jan-09 10:12 
GeneralRe: How to determine if two C# exe come from the same source Pin
PIEBALDconsult14-Jan-09 16:57
mvePIEBALDconsult14-Jan-09 16:57 
AnswerRe: How to determine if two C# exe come from the same source Pin
Daniel Grunwald14-Jan-09 12:48
Daniel Grunwald14-Jan-09 12:48 
AnswerRe: How to determine if two C# exe come from the same source Pin
Henry Minute14-Jan-09 13:31
Henry Minute14-Jan-09 13:31 
Questionmultiple icons in exe with alpha Pin
Xmen Real 14-Jan-09 5:59
professional Xmen Real 14-Jan-09 5:59 
QuestionProblem transferring file with FTP using Socket Pin
Member 321680814-Jan-09 5:50
Member 321680814-Jan-09 5:50 
AnswerRe: Problem transferring file with FTP using Socket Pin
Mark Salsbery14-Jan-09 13:35
Mark Salsbery14-Jan-09 13:35 
GeneralRe: Problem transferring file with FTP using Socket Pin
Member 321680815-Jan-09 2:41
Member 321680815-Jan-09 2:41 
This is how I get my data socket:

dataSocket = new Socket(endPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp);

I send data on the socket after sending a STOR command on the command socket; at least, that is what I call the socket where text is sent and received. When the data transfer is "complete," I get an appropriate text message on the command socket saying that the transfer completed, and giving info on how long the transfer took.

This is my first time using sockets, so I am not sure what else you are asking. I used the Thread.Sleep() in desperation when I realized that some data was disappearing somewhere. The Thread.Sleep(20) is just so the thread will yield and let other things happen in the UI - the exact timing is unimportant.

I am not sure that adding a header would be too useful - I would be able to detect that data had disappeared, but I would have no way to correct the problem.
AnswerRe: Problem transferring file with FTP using Socket Pin
Bharat Jain29-Jan-09 19:47
Bharat Jain29-Jan-09 19:47 
QuestionSend UDP string via proxy [modified] Pin
s.sala14-Jan-09 4:05
s.sala14-Jan-09 4:05 
AnswerRe: Send UDP string via proxy Pin
Bharat Jain14-Jan-09 4:27
Bharat Jain14-Jan-09 4:27 
GeneralRe: Send UDP string via proxy Pin
s.sala14-Jan-09 4:59
s.sala14-Jan-09 4:59 
GeneralRe: Send UDP string via proxy Pin
Bharat Jain29-Jan-09 19:27
Bharat Jain29-Jan-09 19:27 
QuestionGetting column value from binding Pin
kanchoette14-Jan-09 4:00
kanchoette14-Jan-09 4:00 
AnswerRe: Getting column value from binding Pin
moon_stick14-Jan-09 4:15
moon_stick14-Jan-09 4:15 
GeneralRe: Getting column value from binding Pin
kanchoette14-Jan-09 21:30
kanchoette14-Jan-09 21:30 
GeneralRe: Getting column value from binding Pin
moon_stick14-Jan-09 21:57
moon_stick14-Jan-09 21:57 
GeneralRe: Getting column value from binding Pin
kanchoette14-Jan-09 22:09
kanchoette14-Jan-09 22:09 
GeneralRe: Getting column value from binding Pin
moon_stick14-Jan-09 22:45
moon_stick14-Jan-09 22:45 
AnswerRe: Getting column value from binding Pin
moon_stick14-Jan-09 22:51
moon_stick14-Jan-09 22:51 
GeneralRe: Getting column value from binding Pin
kanchoette14-Jan-09 23:39
kanchoette14-Jan-09 23:39 
GeneralRe: Getting column value from binding Pin
moon_stick14-Jan-09 23:49
moon_stick14-Jan-09 23:49 
GeneralRe: Getting column value from binding Pin
kanchoette14-Jan-09 23:55
kanchoette14-Jan-09 23:55 
QuestionHow to contact with file in C#? Pin
thuonghasm14-Jan-09 3:22
thuonghasm14-Jan-09 3:22 
AnswerRe: How to contact with file in C#? Pin
Le centriste14-Jan-09 3:27
Le centriste14-Jan-09 3:27 

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.