I made simple socket library for use in future, it can be compile but when I create a simple server based on it, it fail to work.

#ifndef _OPENSOCKET_H_
#define _OPENSOCKET_H_

/* handle for...