Click here to Skip to main content
15,898,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: release resource for WebClient class Pin
George_George3-Jun-08 1:10
George_George3-Jun-08 1:10 
QuestionReading from html source with C# Pin
kindzal2-Jun-08 2:39
kindzal2-Jun-08 2:39 
AnswerRe: Reading from html source with C# Pin
Vasudevan Deepak Kumar2-Jun-08 2:52
Vasudevan Deepak Kumar2-Jun-08 2:52 
QuestionHow to Send image in paintdotnet workspace through myproject picturebox. Pin
nomi2-Jun-08 2:35
nomi2-Jun-08 2:35 
QuestionClose of event Pin
George_George2-Jun-08 2:24
George_George2-Jun-08 2:24 
AnswerRe: Close of event Pin
N a v a n e e t h2-Jun-08 3:15
N a v a n e e t h2-Jun-08 3:15 
GeneralRe: Close of event Pin
George_George3-Jun-08 1:09
George_George3-Jun-08 1:09 
QuestionPlease Help in Livecaht Using Sockets Pin
Nvrk2-Jun-08 1:35
Nvrk2-Jun-08 1:35 
Hai,
Am doing Live chat project in c# using sockets. In that client server interaction(1 to 1) is ok. More than one client is connected (1 to n) to server then problem is if am sending message from server its going to all clients. But i want to send message to particular user. Please any one help me.... sample code for start Lisening in socket...


private void StartListen_Click(object sender, EventArgs e)
{
try
{

string portStr = textBox2.Text;
int port = System.Convert.ToInt32(portStr);
Create the listening socket...
m_mainSocket = new Socket(AddressFamily.InterNetwork,
SocketType.Stream,
ProtocolType.Tcp);
IPEndPoint ipLocal = new IPEndPoint(IPAddress.Any, port);
m_mainSocket.Bind(ipLocal);
m_mainSocket.Listen(4);
m_mainSocket.BeginAccept(new AsyncCallback(OnClientConnect), null);

UpdateControls(true);

}
catch (SocketException se)
{
MessageBox.Show(se.Message);
}

}


Thanking you,
Regards,
Nvrk Cry | :((
QuestionProblem reading from a socket: Data obtained halfway through is nothing but zeros Pin
KarlWF2-Jun-08 0:33
KarlWF2-Jun-08 0:33 
QuestionDifference between local dataset and dataset retrieved remotely Pin
Nigel Mackay1-Jun-08 23:59
Nigel Mackay1-Jun-08 23:59 
AnswerRe: Difference between local dataset and dataset retrieved remotely Pin
rah_sin2-Jun-08 1:28
professionalrah_sin2-Jun-08 1:28 
GeneralRe: Difference between local dataset and dataset retrieved remotely Pin
Nigel Mackay2-Jun-08 1:44
Nigel Mackay2-Jun-08 1:44 
GeneralRe: Difference between local dataset and dataset retrieved remotely Pin
rah_sin2-Jun-08 2:05
professionalrah_sin2-Jun-08 2:05 
GeneralRe: Difference between local dataset and dataset retrieved remotely Pin
Nigel Mackay2-Jun-08 2:23
Nigel Mackay2-Jun-08 2:23 
Questionhow to insert image from picturebox to database Pin
fofoth1-Jun-08 23:06
fofoth1-Jun-08 23:06 
AnswerRe: how to insert image from picturebox to database Pin
neyerMat1-Jun-08 23:45
neyerMat1-Jun-08 23:45 
AnswerRe: how to insert image from picturebox to database [modified] Pin
DaveyM691-Jun-08 23:46
professionalDaveyM691-Jun-08 23:46 
AnswerRe: how to insert image from picturebox to database Pin
Gareth H2-Jun-08 0:28
Gareth H2-Jun-08 0:28 
QuestionWindows XP Pin
neyerMat1-Jun-08 22:48
neyerMat1-Jun-08 22:48 
AnswerRe: Windows XP Pin
DaveyM691-Jun-08 23:53
professionalDaveyM691-Jun-08 23:53 
GeneralRe: Windows XP Pin
neyerMat2-Jun-08 0:54
neyerMat2-Jun-08 0:54 
GeneralRe: Windows XP Pin
DaveyM692-Jun-08 1:18
professionalDaveyM692-Jun-08 1:18 
AnswerRe: Windows XP Pin
blackjack21502-Jun-08 0:38
blackjack21502-Jun-08 0:38 
GeneralRe: Windows XP Pin
neyerMat2-Jun-08 1:32
neyerMat2-Jun-08 1:32 
QuestionNeed help to solve basic OOP concept Pin
ashwinibhalerao1-Jun-08 21:41
ashwinibhalerao1-Jun-08 21:41 

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.