winsock多协议录制
1,我觉得楼主不要用Winsocket和Oracle(2-tier)同时去录制一个应用程序,因为winsockt是最底层的协议,不需要的,确定应用程序的通信协议后,尽量使用高端的协议录制。
2、这个Help对这个函数的描述:
The lrs_accept_connection function extracts the first connection on the queue of pending connections on old_socket, creates a new socket with the same properties. The original socket remains available for additional connections.
This function is recorded during a Windows Socket session.
Example: lrs_accept_connection 
In the following example, socket four is established to listen to an incoming connection. The lrs_accept_connection function creates a new socket (socket five) to accept the connection and send data to the server.
/* accept(): socket 5 accepted via socket 4 */
lrs_accept_connection("socket4", "socket5");
/* send(): Send to socket 5 */
lrs_send ("socket5", "buf5", "TargetSocket=199.203.77.246:21", LrsLastArg );
可以看到Socket1和Socket2是同样属性的Socket,那么既然这样行不通,那么就把这句注释掉,然后创建一个Sock
et2,试试看,
3、千万不要把客户端和服务器端放在一台机器上。
posted on 2009-07-29 21:33 gil's pkm2 阅读(268) 评论(0) 收藏 举报
                    
                
                
            
        
浙公网安备 33010602011771号