Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
QuestionUSB device detection upon program startup Pin
Blubbo27-Jan-11 9:51
Blubbo27-Jan-11 9:51 
AnswerRe: USB device detection upon program startup Pin
Luc Pattyn27-Jan-11 11:02
sitebuilderLuc Pattyn27-Jan-11 11:02 
GeneralRe: USB device detection upon program startup Pin
Blubbo27-Jan-11 16:46
Blubbo27-Jan-11 16:46 
AnswerRe: USB device detection upon program startup Pin
Luc Pattyn27-Jan-11 17:25
sitebuilderLuc Pattyn27-Jan-11 17:25 
Questionproblem with dynamic ips when using sockets. Pin
prasadbuddhika27-Jan-11 6:25
prasadbuddhika27-Jan-11 6:25 
AnswerRe: problem with dynamic ips when using sockets. Pin
Yusuf27-Jan-11 6:30
Yusuf27-Jan-11 6:30 
AnswerRe: problem with dynamic ips when using sockets. Pin
Richard MacCutchan27-Jan-11 7:15
mveRichard MacCutchan27-Jan-11 7:15 
GeneralRe: problem with dynamic ips when using sockets. Pin
prasadbuddhika27-Jan-11 19:23
prasadbuddhika27-Jan-11 19:23 
thanx for all of you ..!

and this is the code segment i use.

localIP = Dns.GetHostAddresses(Dns.GetHostName())[0];
IPEndPoint localEndpoint = new IPEndPoint(localIP, 7575);
lSoc = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
lSoc.Bind(localEndpoint);
lSoc.Listen(10);

GeneralRe: problem with dynamic ips when using sockets. Pin
Richard MacCutchan27-Jan-11 22:45
mveRichard MacCutchan27-Jan-11 22:45 
AnswerRe: problem with dynamic ips when using sockets. Pin
jschell27-Jan-11 8:37
jschell27-Jan-11 8:37 
QuestionEquivalent way to achieve const or readonly return type from method Pin
bob1697227-Jan-11 5:09
bob1697227-Jan-11 5:09 
AnswerRe: Equivalent way to achieve const or readonly return type from method Pin
_Erik_27-Jan-11 5:33
_Erik_27-Jan-11 5:33 
AnswerRe: Equivalent way to achieve const or readonly return type from method Pin
Luc Pattyn27-Jan-11 5:36
sitebuilderLuc Pattyn27-Jan-11 5:36 
AnswerRe: Equivalent way to achieve const or readonly return type from method PinPopular
jschell27-Jan-11 8:45
jschell27-Jan-11 8:45 
GeneralRe: Equivalent way to achieve const or readonly return type from method Pin
fjdiewornncalwe27-Jan-11 8:49
professionalfjdiewornncalwe27-Jan-11 8:49 
GeneralRe: Equivalent way to achieve const or readonly return type from method Pin
bob1697227-Jan-11 8:56
bob1697227-Jan-11 8:56 
AnswerRe: Equivalent way to achieve const or readonly return type from method Pin
RobCroll27-Jan-11 12:06
RobCroll27-Jan-11 12:06 
GeneralRe: Equivalent way to achieve const or readonly return type from method Pin
bob1697227-Jan-11 18:35
bob1697227-Jan-11 18:35 
GeneralRe: Equivalent way to achieve const or readonly return type from method Pin
RobCroll27-Jan-11 18:55
RobCroll27-Jan-11 18:55 
GeneralRe: Equivalent way to achieve const or readonly return type from method Pin
Bernhard Hiller28-Jan-11 1:24
Bernhard Hiller28-Jan-11 1:24 
GeneralRe: Equivalent way to achieve const or readonly return type from method Pin
bob1697228-Jan-11 3:08
bob1697228-Jan-11 3:08 
AnswerRe: Equivalent way to achieve const or readonly return type from method Pin
TheGreatAndPowerfulOz28-Jan-11 7:38
TheGreatAndPowerfulOz28-Jan-11 7:38 
QuestionAccessviolationException was unhandled when doing SendMessage to get DeviceArrival message upon startup of program [modified] Pin
Blubbo27-Jan-11 2:24
Blubbo27-Jan-11 2:24 
AnswerRe: AccessviolationException was unhandled when doing SendMessage to get DeviceArrival message upon startup of program Pin
RaviRanjanKr27-Jan-11 2:42
professionalRaviRanjanKr27-Jan-11 2:42 
GeneralRe: AccessviolationException was unhandled when doing SendMessage to get DeviceArrival message upon startup of program Pin
Blubbo27-Jan-11 2:53
Blubbo27-Jan-11 2:53 

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.