problem on example code
i got professional windows GUI programming using c# book. On page 380 it have an example of networking application that use Threading to handle the work. I can not get the example code to work at all. I try to download the code from the site but no luck to find it.. maybe i miss to inlucde something here is the problem ..
--
private PeerConnection p= null;
p = new PeerConnection (4048,Handle);
public PeerConnection ( int port , ListBox formHandle) <<-- if i add void infron of PeerConnect i got no error
{
this.port=port;
this.formHandle = formHandle;
t1= new Thread( new ThreadStart(CreateListener));
t1.Name="Listener Thread";
t1.Priority = ThreadPriority.AboveNormal;
t1.Start();
}
--
|