本文总结了在实际工作中摸索的BASIC 主程序与汇编语言子程序连接的新方法。
This article provides a new method for linking main BASIC program to assembly language subroutine.
第一个子程序 socket_setup() ,它返回一个准备接受连接的套接字。
The first one, socket_setup(), returns a socket which is ready to accept connections.
第二个子程序get _ sockets,以这个套接字为参数,接受连接,并创建一个struct sockets对象。
The second one, get_sockets , takes the socket, accepts a connection, and creates a struct sockets object.
应用推荐