Home
last modified time | relevance | path

Searched refs:tcpClientAddr (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/network/sockets/
DltpServer.c56 tcpClientAddr, tcpServerAddr, multiClientAddr, multiServerAddr; variable
273 tcpClientLen = sizeof(tcpClientAddr); in ltp_tcp_server_queue()
275 accept(tcpSocketHandle, (struct sockaddr *)&tcpClientAddr, in ltp_tcp_server_queue()
290 inet_ntoa(tcpClientAddr.sin_addr), in ltp_tcp_server_queue()
291 ntohs(tcpClientAddr.sin_port), message); in ltp_tcp_server_queue()
329 0, (struct sockaddr *)&tcpClientAddr, in tcp_receive_buffer()
DltpClient.c91 tcpClientAddr, in main() local
165 tcpClientAddr.sin_family = AF_INET; in main()
166 tcpClientAddr.sin_addr.s_addr = htonl(INADDR_ANY); in main()
167 tcpClientAddr.sin_port = htons(0); in main()
179 rc = bind(tcpSocketHandle, (struct sockaddr *)&tcpClientAddr, in main()
180 sizeof(tcpClientAddr)); in main()