Hi, The Client Side Code is written in C at Embeded Side n it takes some time to show the status "Disconnected" this creates the problem 4 me,they find the state of Socket "Connected" while it is disconnected at Server Side... Plz do the needful. Thanks and Regards, Lalit Narayam
lnmca
Posts
-
Socket.ReceiveTimeOut Problem -
Socket.ReceiveTimeOut ProblemHi, Actually i am working on Server Side,the connection requests comes from the Client Side,i can not reconnect to the Client through Socket.... The Server has TCP Listener on its own side,that waits for the Connection Request from the Client and make the Socket after Accepts the request. Best Regards, Lalit Narayan
-
Socket.ReceiveTimeOut ProblemBut when the socket throws exception ,socket is disconnected...this creates the problem 4 me,plz give the solution so that the socket should not be disconnected. Best Regards, Lalit Narayan
-
Socket.ReceiveTimeOut ProblemHi All, When I set the ReceiveTimeOut of Socket to some milliseconds then Socket throws the timeout Exception while the period expires and the problem is that then Socket is disconnected therefore i am unable to send and receive again with this socket. I want that it waites for sometime for receiving but after elapsing the time,it should not be disconnected so that i can use it again n again.. Plz help...Its urgent. Best Regards, Lalit Narayan
-
Problem while set the window state to maximixed of the formHi All, I have a window form.If we change the window state of the form to the maximized then the controls under that windows form does not change their Location and the size.I want that at run time after maximizing the windows form the controls under that form should automatically change their Location and size. Please give me the solution,its urgent. Warm Regards, Lalit Narayan
-
image capture through webcam in web applicationhi all, i need to take picture from a web cam connected to client machine.i want to see live video from the web cam and then click the picture and display it in an image tag.i have already seen the following articles. www.codeproject.com/KB/web-image/webcamimage.aspx www.codeproject.com/KB/cs/WebCamService.aspx thanx in advance
-
HOW CAN I ADD dll to windows .net application:confused: hi, can any body tell how can i add .dll for my application(c#.net) because it can not directly added from add references( neither .net nor from com component) so i want to add dll through command prompt i edit c:\>regsvr "c:\BAS\bin\Deug\BAS_DAL.dll" BUT IT PRODUCE MESSAGE " C:\BAS\bin\Deug\BAS_DAL.dll was loaded but the DllRegisterServer entry point was noy found, DllRegisterServer may not be exported " HOW CAN ADD I .dll to my project through command prompt or Other way from :-Jaydeep Bhatt
-
Problem in TreeViewHi Guys, In Windows, I have to stop the collapse and expand of treeview,when i double clicks on any node.Collapse and Expand should be fire on clicking the + or - sign in the treeview. Please give the needful answer..... Regards, Lalit Narayan
-
Problem while loading the formHi All, In Windows while loading the form,it flactuates very much.Please give any solution for it... Regards, Lalit Narayan
-
How to remove form flickering ??I didn't get......
-
How to remove form flickering ??Hi All, How to remove the form flickering in windows applications. Regards, Lalit Narayan
-
Create the context menu at run timeHi All, I want to create the context menu at run time based on the value picked from DB,Please help me... Regards, Lalit Narayan
-
Dynamic Property in C#Hi All, How can we make the dynamic property in windows application in C#,that can pick the list from the database? Please help,its urgent.... Thanks, Lalit Narayan
-
Dynamically ENUMHi All, Is it possible to make the dynamically enum,means it should be created based on the values picked from DB? Thanks, Lalit
-
How to make the property having listview type[Message Deleted]
-
How to make the property having listview type[Message Deleted]
-
How to make the property having listview typeHi All, I have a made the user control in C#,now i have faced the problem that i want to make the property in user control that pick up the data from database and display it in the list..... Ex. ID Name 1 A 2 B 3 C How is it possible in windows application... Please help its urgent... Thanks, Lalit Narayan
-
Problem during deserializationHi Rob, Thanks for ur reply.. Actually the problem is that we are communicating the DDC through windows service,on DDC side there is no .Net assembly but the embeded type of work over there(like C++ type). Now if when we receive the byte array from DDC then i have to convert it into object of my own created structure same as DDC side. But for testing purpose i am communicating between two computers that have .net application and windows service.But basically i have to set up communication between windows service and the DDC. So i do not want to attach the assembly..because there will no assembly on other side in real time. Please reply... Regards, Lalit Narayan
-
Problem during deserializationHi Rob, thanks for reply, but i have not attached the assembly at my side because i have to only read the data that is coming through TCP channel from the controller. Please reply... Regards, Lalit Narayan
-
Problem during deserializationHi All, I am unable to deserialize the byte array to the object of structure on another machine,when i send it through TCP/IP by socket then there is no problem in serialization.,but problem occurs at the other side during deserialization. It shows the error something like "unable to find assembly....." I am using the following code.... private byte[] ObjectToByteArray(Object obj) { if (obj == null) return null; BinaryFormatter bf = new BinaryFormatter(); MemoryStream ms = new MemoryStream(); bf.Serialize(ms, obj); return ms.ToArray(); } // Convert a byte array to an Object private Object ByteArrayToObject(byte[] arrBytes) { MemoryStream memStream = new MemoryStream(arrBytes); BinaryFormatter binForm = new BinaryFormatter(); memStream.Position = 0; //memStream.Write(arrBytes, 0, arrBytes.Length); // memStream.Seek(0, SeekOrigin.Begin); Object obj = (Object)binForm.Deserialize(memStream); return obj; } Please help,it is urgent.... Regards Lalit Narayan