issues
search
gophy5128
/
training
0
stars
0
forks
source link
Issue in shopsocketnew.cpp & customerssocket.cpp
#1
Open
michael0432
opened
3 years ago
michael0432
commented
3 years ago
accept收到的port為0 : shop第30行應該改成 socklen_t client_addr_len = sizeof(struct sockaddr_in);
shop第54行應該改為 != 以上兩個改完之後shop跟customer可以傳遞資料
gophy5128
commented
3 years ago
socket create error