FTP | CCD | Buscar | Trucos | Trabajo | Foros |
#1
|
|||
|
|||
Necesito Ayuda
Hola ,bueno quisiera que alguien me ayude a pasar este codigo a java
Código:
procedure TForm1.ServerSocket1ClientRead(Sender: TObject;Socket: TCustomWinSocket); label kezd,vege; var y:word; delimiter:word; Msg:TKoMsg; begin if Socket.ReceiveLength=0 then exit; kezd: Socket.ReceiveBuf(delimiter,2); //$55AA Socket.ReceiveBuf(y,2); //length Msg:=TKoMsg.Create; Msg.Sender:=TPlayer(Players.Objects[Players.IndexOf(IntToStr(Socket.Handle))]); Msgs.Add(Msg); SetLength(Msg.Arr,y); Socket.ReceiveBuf(Msg.Arr[0],y); Socket.ReceiveBuf(delimiter,2); //$AA55 if y=0 then goto vege; vege: if Socket.ReceiveLength>0 then goto kezd; PostMessage(Handle,WM_PROCESS,0,0); end; |
#2
|
|||
|
|||
puedes probar con algun programa tipo este:
http://www.re-coding.com//try.php |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Necesito ayuda | Maria85 | Internet | 15 | 27-01-2009 19:22:06 |
Necesito Ayuda | kary | Varios | 3 | 09-10-2008 22:31:44 |
Necesito ayuda | RoyTan | Conexión con bases de datos | 1 | 27-08-2006 06:23:15 |
Necesito ayuda!! | DiRHoP | Varios | 7 | 16-09-2005 02:44:42 |
Necesito ayuda en c++ | caferd5 | C++ Builder | 2 | 23-05-2005 07:35:13 |
|