China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 07:39
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » Question about problems using DSOCK under DOS View 1,322 Replies 2
Original Poster Posted 2003-09-18 00:00 ·  中国 湖北 武汉 教育网
初级用户
Credits 126
Posts 4
Joined 2003-07-22 00:00
22-year member
UID 7300
Gender Male
Status Offline
I downloaded DSOCK from your website. I added the network card driver in the batch file. I also copied DSOCK.H and DSOCK.LIB into TC++'s INCLUDE and LIB, and modified the relevant contents of DSOCK.CGF, then put it under TC++, in the project file directory, and under the root directory of drive C (because I still don't know the exact location where DSOCK.CGF should be placed). As soon as I run it, a lot of errors appear, all similar to: undefined symbol _SocketGetChar in module\Talk_TCP\Talk_tcp.c. What is going on?
Floor 2 Posted 2004-04-07 00:00 ·  中国 吉林 通化 联通
初级用户
Credits 112
Posts 3
Joined 2004-03-20 00:00
22-year member
UID 20639
Gender Male
Status Offline
I also ran into the undefined symbol error problem. It may be related to the dsock version and not support I386CPU. Is there a commercial version?
Floor 3 Posted 2005-06-17 00:00 ·  中国 重庆 北碚区 电信
中级用户
DOS新人类
Credits 225
Posts 34
Joined 2005-06-16 00:00
21-year member
UID 39751
Gender Male
Status Offline
In the MAIN() function of Talk_tcp.c, if you didn't assign initial values to its parameters at the entry point, then it won't know which mode it should run in, and it also won't know how to create the client. If you assign some initial values, there probably won't be any problem.
!!新手上路,请多指教!!
我的E_MAIL:yduzho@21cn.com
我的QQ:419489

Forum Jump: