紧急求助 linux 下socket 关闭端口
#include "stdafx.h"
#include "socket.h"
#include "imageinfo.h"
#include <stdio.h>
#include <string.h>
#include <jni.h>
#include <map>
using std::map;
上门是头文件.
socket.Close(); 这是关闭端口
可是关闭不好使,关不了
听说要加 shutdown,不知道怎么用 :(
有人用过没,帮忙解答一下.....