|
|
导航: |
论坛 -> DELPHI技术
斑竹:liumazi,sephil |
|
作者: |
|
2004/3/13 21:40:05 |
标题: |
各位大哥,WINSOCK 问题,在线等候! |
浏览:974 |
|
加入我的收藏 |
楼主: |
是这样的,我在服务器(tserversocket1),可以这样定义 type ponlineinf=^tponlineinf; tponlineinf=record name:string; soc:tsocket;//soc 为用户标志,为用户的socket句柄。 end;
但是在客户端,这样定义不行,必须把 soc 定义 为 integer类型 type guestinf=^tguestinf; tguestinf=record name:string; soc:integer;//这里soc不能定义为tsocket类型,而只能为 integer类型 end;
----------------------------------------------
lsh |
作者: |
bios (阿贡) |
★☆☆☆☆ |
-
|
盒子中级会员 |
|
2004/3/13 21:50:05 |
1楼: |
改成指针试试 偶也是瞎猜的!
----------------------------------------------
|
|