Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
GeneralRemove dialog 'Printing' Pin
neobugs29-Feb-08 12:01
neobugs29-Feb-08 12:01 
GeneralRe: Remove dialog 'Printing' Pin
yogesh_kumar_agarwal29-Feb-08 18:07
yogesh_kumar_agarwal29-Feb-08 18:07 
QuestionHow to embed a URL in textbox Pin
GuyThiebaut29-Feb-08 11:17
professionalGuyThiebaut29-Feb-08 11:17 
AnswerRe: How to embed a URL in textbox Pin
Giorgi Dalakishvili29-Feb-08 11:30
mentorGiorgi Dalakishvili29-Feb-08 11:30 
GeneralRe: How to embed a URL in textbox Pin
GuyThiebaut29-Feb-08 11:33
professionalGuyThiebaut29-Feb-08 11:33 
AnswerRe: How to embed a URL in textbox Pin
Spacix One29-Feb-08 11:38
Spacix One29-Feb-08 11:38 
GeneralRe: How to embed a URL in textbox Pin
GuyThiebaut29-Feb-08 11:41
professionalGuyThiebaut29-Feb-08 11:41 
GeneralSocket Programming Pin
Saamir29-Feb-08 11:05
Saamir29-Feb-08 11:05 
Hi guys,
I am trying to update an old application that was designed by another programmer. I am not very sharp at C# and need your help.

Can you please help me understand the following code that is in the windows service

IPHostEntry hostEntry=Dns.Resolve(m_sServerAddr);
IPAddress ipAddress = hostEntry.AddressList[0];
IPEndPoint ipEndPoint = new IPEndPoint(ipAddress,m_nPort);
m_svSocket = new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp);
m_svSocket.Bind(ipEndPoint);
m_svSocket.Listen(10);

while(true)
{
Socket rtSocket=m_svSocket.Accept();
if(rtSocket.Connected)
{
TD.WaitCallback myCallBack = new TD.WaitCallback(ProcessClientRequest);
TD.ThreadPool.QueueUserWorkItem(myCallBack,rtSocket);
}
}

ProcessClientRequest has a bunch of functions called like getschedule from database etc. I am trying to force Processclientrequest to reload the schedule from the database without restarting the service.

Please help.

Sameer

GeneralRe: Socket Programming Pin
Spacix One29-Feb-08 11:30
Spacix One29-Feb-08 11:30 
GeneralRe: Socket Programming Pin
Saamir29-Feb-08 11:36
Saamir29-Feb-08 11:36 
QuestionTextbox AutoCompleteCustomSource of classes Pin
cechode29-Feb-08 9:31
cechode29-Feb-08 9:31 
GeneralRe: Textbox AutoCompleteCustomSource of classes Pin
Not Active29-Feb-08 9:39
mentorNot Active29-Feb-08 9:39 
GeneralRe: Textbox AutoCompleteCustomSource of classes Pin
cechode29-Feb-08 9:45
cechode29-Feb-08 9:45 
GeneralRe: Textbox AutoCompleteCustomSource of classes Pin
Not Active29-Feb-08 9:50
mentorNot Active29-Feb-08 9:50 
GeneralRe: Textbox AutoCompleteCustomSource of classes Pin
cechode29-Feb-08 10:23
cechode29-Feb-08 10:23 
GeneralRe: Textbox AutoCompleteCustomSource of classes Pin
Not Active29-Feb-08 11:10
mentorNot Active29-Feb-08 11:10 
GeneralRe: Textbox AutoCompleteCustomSource of classes Pin
DaveyM6929-Feb-08 10:46
professionalDaveyM6929-Feb-08 10:46 
General"Executing" data file Pin
hain29-Feb-08 8:59
hain29-Feb-08 8:59 
AnswerRe: "Executing" data file Pin
Guffa29-Feb-08 9:42
Guffa29-Feb-08 9:42 
GeneralRe: "Executing" data file [modified] Pin
hain29-Feb-08 10:57
hain29-Feb-08 10:57 
GeneralLooping for 60 seconds Pin
jimmy2shoes29-Feb-08 8:16
jimmy2shoes29-Feb-08 8:16 
GeneralRe: Looping for 60 seconds Pin
Not Active29-Feb-08 8:38
mentorNot Active29-Feb-08 8:38 
GeneralSerialization Pin
geekfromindia29-Feb-08 7:09
geekfromindia29-Feb-08 7:09 
GeneralRe: Serialization Pin
Skippums29-Feb-08 7:14
Skippums29-Feb-08 7:14 
GeneralRe: Serialization Pin
geekfromindia29-Feb-08 10:40
geekfromindia29-Feb-08 10:40 

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.