gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:MERCD from t2ex/t2ex_source/kernel/sysmain/src/network_sample/httpclient.c (0.00 seconds)
t2ex
t2ex_source/kernel/sysmain/src/network_sample/httpclient.c - 3.7KB - 111 lines
75:         sd = so_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
76:         DEBUG_PRINT(("http_get: so_socket = %d(%d, %d)\n", sd, MERCD(sd), SERCD(sd)));
77:         if ( sd < 0 ) {
86: re = so_connect(sd, (struct sockaddr*)&sa, sizeof sa); 87: DEBUG_PRINT(("http_get: so_connect = %d(%d, %d)\n", re, MERCD(re), SERCD(re))); 88: if ( re < 0 ) {
93: re = so_write(sd, req, strlen(req)); 94: DEBUG_PRINT(("http_get: so_write = %d(%d, %d)\n", re, MERCD(re), SERCD(re))); 95:
97: re = so_read(sd, &buf[offset], buflen - offset); 98: DEBUG_PRINT(("http_get: so_read = %d(%d, %d)\n", re, MERCD(re), SERCD(re))); 99: if ( re == 0 ) {