Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
OpenAtomFoundation
pika
提交
cc846823
pika
项目概览
镜像
/
OpenAtomFoundation
/
pika
11 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
pika
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cc846823
编写于
3月 15, 2015
作者:
B
baotiao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
local
上级
d6f62938
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
111 addition
and
14694 deletion
+111
-14694
include/bada_sdk.pb.h
include/bada_sdk.pb.h
+0
-14667
include/tick_util.h
include/tick_util.h
+2
-0
src/bada_sdk.pb.cc
src/bada_sdk.pb.cc
+109
-26
src/tick_util.cc
src/tick_util.cc
+0
-1
未找到文件。
include/bada_sdk.pb.h
已删除
100644 → 0
浏览文件 @
d6f62938
此差异已折叠。
点击以展开。
include/tick_util.h
浏览文件 @
cc846823
#ifndef __TICK_UTIL_H__
#ifndef __TICK_UTIL_H__
#define __TICK_UTIL_H__
#define __TICK_UTIL_H__
#include "tick_define.h"
int
Setnonblocking
(
int
sockfd
);
int
Setnonblocking
(
int
sockfd
);
int
SetBlockType
(
int
fd
,
int
&
flags
,
BlockType
type
);
int
SetBlockType
(
int
fd
,
int
&
flags
,
BlockType
type
);
...
...
src/bada_sdk.pb.cc
浏览文件 @
cc846823
...
@@ -1165,7 +1165,8 @@ void protobuf_AssignDesc_bada_5fsdk_2eproto() {
...
@@ -1165,7 +1165,8 @@ void protobuf_AssignDesc_bada_5fsdk_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(SdkLRangeRet));
sizeof(SdkLRangeRet));
HbSend_descriptor_ = file->message_type(50);
HbSend_descriptor_ = file->message_type(50);
static const int HbSend_offsets_[2] = {
static const int HbSend_offsets_[3] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSend, opcode_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSend, host_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSend, host_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSend, port_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSend, port_),
};
};
...
@@ -1181,7 +1182,8 @@ void protobuf_AssignDesc_bada_5fsdk_2eproto() {
...
@@ -1181,7 +1182,8 @@ void protobuf_AssignDesc_bada_5fsdk_2eproto() {
::google::protobuf::MessageFactory::generated_factory(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(HbSend));
sizeof(HbSend));
HbSendRet_descriptor_ = file->message_type(51);
HbSendRet_descriptor_ = file->message_type(51);
static const int HbSendRet_offsets_[1] = {
static const int HbSendRet_offsets_[2] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSendRet, opcode_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSendRet, status_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(HbSendRet, status_),
};
};
HbSendRet_reflection_ =
HbSendRet_reflection_ =
...
@@ -1547,8 +1549,9 @@ void protobuf_AddDesc_bada_5fsdk_2eproto() {
...
@@ -1547,8 +1549,9 @@ void protobuf_AddDesc_bada_5fsdk_2eproto() {
"\n\005table\030\002 \002(\014\022\014\n\004name\030\003 \002(\014\022\014\n\004from\030\004 \002("
"\n\005table\030\002 \002(\014\022\014\n\004name\030\003 \002(\014\022\014\n\004from\030\004 \002("
"\004\022\n\n\002to\030\005 \002(\004\022\023\n\013frontorback\030\006 \002(\005\"-\n\014Sd"
"\004\022\n\n\002to\030\005 \002(\004\022\023\n\013frontorback\030\006 \002(\005\"-\n\014Sd"
"kLRangeRet\022\016\n\006opcode\030\001 \002(\005\022\r\n\005value\030\002 \003("
"kLRangeRet\022\016\n\006opcode\030\001 \002(\005\022\r\n\005value\030\002 \003("
"\014\"$\n\006HbSend\022\014\n\004host\030\001 \002(\014\022\014\n\004port\030\002 \002(\005\""
"\014\"4\n\006HbSend\022\016\n\006opcode\030\001 \002(\005\022\014\n\004host\030\002 \002("
"\033\n\tHbSendRet\022\016\n\006status\030\001 \002(\010", 3828);
"\014\022\014\n\004port\030\003 \002(\005\"+\n\tHbSendRet\022\016\n\006opcode\030\001"
" \002(\005\022\016\n\006status\030\002 \002(\010", 3860);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"bada_sdk.proto", &protobuf_RegisterTypes);
"bada_sdk.proto", &protobuf_RegisterTypes);
SdkInvalidOperation::default_instance_ = new SdkInvalidOperation();
SdkInvalidOperation::default_instance_ = new SdkInvalidOperation();
...
@@ -18991,6 +18994,7 @@ void SdkLRangeRet::Swap(SdkLRangeRet* other) {
...
@@ -18991,6 +18994,7 @@ void SdkLRangeRet::Swap(SdkLRangeRet* other) {
// ===================================================================
// ===================================================================
#ifndef _MSC_VER
#ifndef _MSC_VER
const int HbSend::kOpcodeFieldNumber;
const int HbSend::kHostFieldNumber;
const int HbSend::kHostFieldNumber;
const int HbSend::kPortFieldNumber;
const int HbSend::kPortFieldNumber;
#endif // !_MSC_VER
#endif // !_MSC_VER
...
@@ -19011,6 +19015,7 @@ HbSend::HbSend(const HbSend& from)
...
@@ -19011,6 +19015,7 @@ HbSend::HbSend(const HbSend& from)
void HbSend::SharedCtor() {
void HbSend::SharedCtor() {
_cached_size_ = 0;
_cached_size_ = 0;
opcode_ = 0;
host_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
host_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
port_ = 0;
port_ = 0;
::memset(_has_bits_, 0, sizeof(_has_bits_));
::memset(_has_bits_, 0, sizeof(_has_bits_));
...
@@ -19051,6 +19056,7 @@ HbSend* HbSend::New() const {
...
@@ -19051,6 +19056,7 @@ HbSend* HbSend::New() const {
void HbSend::Clear() {
void HbSend::Clear() {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
opcode_ = 0;
if (has_host()) {
if (has_host()) {
if (host_ != &::google::protobuf::internal::kEmptyString) {
if (host_ != &::google::protobuf::internal::kEmptyString) {
host_->clear();
host_->clear();
...
@@ -19068,21 +19074,37 @@ bool HbSend::MergePartialFromCodedStream(
...
@@ -19068,21 +19074,37 @@ bool HbSend::MergePartialFromCodedStream(
::google::protobuf::uint32 tag;
::google::protobuf::uint32 tag;
while ((tag = input->ReadTag()) != 0) {
while ((tag = input->ReadTag()) != 0) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// required
bytes host
= 1;
// required
int32 opcode
= 1;
case 1: {
case 1: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &opcode_)));
set_has_opcode();
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(18)) goto parse_host;
break;
}
// required bytes host = 2;
case 2: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_host:
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
input, this->mutable_host()));
input, this->mutable_host()));
} else {
} else {
goto handle_uninterpreted;
goto handle_uninterpreted;
}
}
if (input->ExpectTag(
16
)) goto parse_port;
if (input->ExpectTag(
24
)) goto parse_port;
break;
break;
}
}
// required int32 port =
2
;
// required int32 port =
3
;
case
2
: {
case
3
: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_port:
parse_port:
...
@@ -19115,15 +19137,20 @@ bool HbSend::MergePartialFromCodedStream(
...
@@ -19115,15 +19137,20 @@ bool HbSend::MergePartialFromCodedStream(
void HbSend::SerializeWithCachedSizes(
void HbSend::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
::google::protobuf::io::CodedOutputStream* output) const {
// required bytes host = 1;
// required int32 opcode = 1;
if (has_opcode()) {
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->opcode(), output);
}
// required bytes host = 2;
if (has_host()) {
if (has_host()) {
::google::protobuf::internal::WireFormatLite::WriteBytes(
::google::protobuf::internal::WireFormatLite::WriteBytes(
1
, this->host(), output);
2
, this->host(), output);
}
}
// required int32 port =
2
;
// required int32 port =
3
;
if (has_port()) {
if (has_port()) {
::google::protobuf::internal::WireFormatLite::WriteInt32(
2
, this->port(), output);
::google::protobuf::internal::WireFormatLite::WriteInt32(
3
, this->port(), output);
}
}
if (!unknown_fields().empty()) {
if (!unknown_fields().empty()) {
...
@@ -19134,16 +19161,21 @@ void HbSend::SerializeWithCachedSizes(
...
@@ -19134,16 +19161,21 @@ void HbSend::SerializeWithCachedSizes(
::google::protobuf::uint8* HbSend::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* HbSend::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* target) const {
::google::protobuf::uint8* target) const {
// required bytes host = 1;
// required int32 opcode = 1;
if (has_opcode()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->opcode(), target);
}
// required bytes host = 2;
if (has_host()) {
if (has_host()) {
target =
target =
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1
, this->host(), target);
2
, this->host(), target);
}
}
// required int32 port =
2
;
// required int32 port =
3
;
if (has_port()) {
if (has_port()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(
2
, this->port(), target);
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(
3
, this->port(), target);
}
}
if (!unknown_fields().empty()) {
if (!unknown_fields().empty()) {
...
@@ -19157,14 +19189,21 @@ int HbSend::ByteSize() const {
...
@@ -19157,14 +19189,21 @@ int HbSend::ByteSize() const {
int total_size = 0;
int total_size = 0;
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
// required bytes host = 1;
// required int32 opcode = 1;
if (has_opcode()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->opcode());
}
// required bytes host = 2;
if (has_host()) {
if (has_host()) {
total_size += 1 +
total_size += 1 +
::google::protobuf::internal::WireFormatLite::BytesSize(
::google::protobuf::internal::WireFormatLite::BytesSize(
this->host());
this->host());
}
}
// required int32 port =
2
;
// required int32 port =
3
;
if (has_port()) {
if (has_port()) {
total_size += 1 +
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
::google::protobuf::internal::WireFormatLite::Int32Size(
...
@@ -19198,6 +19237,9 @@ void HbSend::MergeFrom(const ::google::protobuf::Message& from) {
...
@@ -19198,6 +19237,9 @@ void HbSend::MergeFrom(const ::google::protobuf::Message& from) {
void HbSend::MergeFrom(const HbSend& from) {
void HbSend::MergeFrom(const HbSend& from) {
GOOGLE_CHECK_NE(&from, this);
GOOGLE_CHECK_NE(&from, this);
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from.has_opcode()) {
set_opcode(from.opcode());
}
if (from.has_host()) {
if (from.has_host()) {
set_host(from.host());
set_host(from.host());
}
}
...
@@ -19221,13 +19263,14 @@ void HbSend::CopyFrom(const HbSend& from) {
...
@@ -19221,13 +19263,14 @@ void HbSend::CopyFrom(const HbSend& from) {
}
}
bool HbSend::IsInitialized() const {
bool HbSend::IsInitialized() const {
if ((_has_bits_[0] & 0x0000000
3) != 0x00000003
) return false;
if ((_has_bits_[0] & 0x0000000
7) != 0x00000007
) return false;
return true;
return true;
}
}
void HbSend::Swap(HbSend* other) {
void HbSend::Swap(HbSend* other) {
if (other != this) {
if (other != this) {
std::swap(opcode_, other->opcode_);
std::swap(host_, other->host_);
std::swap(host_, other->host_);
std::swap(port_, other->port_);
std::swap(port_, other->port_);
std::swap(_has_bits_[0], other->_has_bits_[0]);
std::swap(_has_bits_[0], other->_has_bits_[0]);
...
@@ -19248,6 +19291,7 @@ void HbSend::Swap(HbSend* other) {
...
@@ -19248,6 +19291,7 @@ void HbSend::Swap(HbSend* other) {
// ===================================================================
// ===================================================================
#ifndef _MSC_VER
#ifndef _MSC_VER
const int HbSendRet::kOpcodeFieldNumber;
const int HbSendRet::kStatusFieldNumber;
const int HbSendRet::kStatusFieldNumber;
#endif // !_MSC_VER
#endif // !_MSC_VER
...
@@ -19267,6 +19311,7 @@ HbSendRet::HbSendRet(const HbSendRet& from)
...
@@ -19267,6 +19311,7 @@ HbSendRet::HbSendRet(const HbSendRet& from)
void HbSendRet::SharedCtor() {
void HbSendRet::SharedCtor() {
_cached_size_ = 0;
_cached_size_ = 0;
opcode_ = 0;
status_ = false;
status_ = false;
::memset(_has_bits_, 0, sizeof(_has_bits_));
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
}
...
@@ -19303,6 +19348,7 @@ HbSendRet* HbSendRet::New() const {
...
@@ -19303,6 +19348,7 @@ HbSendRet* HbSendRet::New() const {
void HbSendRet::Clear() {
void HbSendRet::Clear() {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
opcode_ = 0;
status_ = false;
status_ = false;
}
}
::memset(_has_bits_, 0, sizeof(_has_bits_));
::memset(_has_bits_, 0, sizeof(_has_bits_));
...
@@ -19315,10 +19361,26 @@ bool HbSendRet::MergePartialFromCodedStream(
...
@@ -19315,10 +19361,26 @@ bool HbSendRet::MergePartialFromCodedStream(
::google::protobuf::uint32 tag;
::google::protobuf::uint32 tag;
while ((tag = input->ReadTag()) != 0) {
while ((tag = input->ReadTag()) != 0) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// required
bool status
= 1;
// required
int32 opcode
= 1;
case 1: {
case 1: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &opcode_)));
set_has_opcode();
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(16)) goto parse_status;
break;
}
// required bool status = 2;
case 2: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_status:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
input, &status_)));
input, &status_)));
...
@@ -19348,9 +19410,14 @@ bool HbSendRet::MergePartialFromCodedStream(
...
@@ -19348,9 +19410,14 @@ bool HbSendRet::MergePartialFromCodedStream(
void HbSendRet::SerializeWithCachedSizes(
void HbSendRet::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
::google::protobuf::io::CodedOutputStream* output) const {
// required bool status = 1;
// required int32 opcode = 1;
if (has_opcode()) {
::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->opcode(), output);
}
// required bool status = 2;
if (has_status()) {
if (has_status()) {
::google::protobuf::internal::WireFormatLite::WriteBool(
1
, this->status(), output);
::google::protobuf::internal::WireFormatLite::WriteBool(
2
, this->status(), output);
}
}
if (!unknown_fields().empty()) {
if (!unknown_fields().empty()) {
...
@@ -19361,9 +19428,14 @@ void HbSendRet::SerializeWithCachedSizes(
...
@@ -19361,9 +19428,14 @@ void HbSendRet::SerializeWithCachedSizes(
::google::protobuf::uint8* HbSendRet::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* HbSendRet::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* target) const {
::google::protobuf::uint8* target) const {
// required bool status = 1;
// required int32 opcode = 1;
if (has_opcode()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->opcode(), target);
}
// required bool status = 2;
if (has_status()) {
if (has_status()) {
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(
1
, this->status(), target);
target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(
2
, this->status(), target);
}
}
if (!unknown_fields().empty()) {
if (!unknown_fields().empty()) {
...
@@ -19377,7 +19449,14 @@ int HbSendRet::ByteSize() const {
...
@@ -19377,7 +19449,14 @@ int HbSendRet::ByteSize() const {
int total_size = 0;
int total_size = 0;
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
// required bool status = 1;
// required int32 opcode = 1;
if (has_opcode()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->opcode());
}
// required bool status = 2;
if (has_status()) {
if (has_status()) {
total_size += 1 + 1;
total_size += 1 + 1;
}
}
...
@@ -19409,6 +19488,9 @@ void HbSendRet::MergeFrom(const ::google::protobuf::Message& from) {
...
@@ -19409,6 +19488,9 @@ void HbSendRet::MergeFrom(const ::google::protobuf::Message& from) {
void HbSendRet::MergeFrom(const HbSendRet& from) {
void HbSendRet::MergeFrom(const HbSendRet& from) {
GOOGLE_CHECK_NE(&from, this);
GOOGLE_CHECK_NE(&from, this);
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from.has_opcode()) {
set_opcode(from.opcode());
}
if (from.has_status()) {
if (from.has_status()) {
set_status(from.status());
set_status(from.status());
}
}
...
@@ -19429,13 +19511,14 @@ void HbSendRet::CopyFrom(const HbSendRet& from) {
...
@@ -19429,13 +19511,14 @@ void HbSendRet::CopyFrom(const HbSendRet& from) {
}
}
bool HbSendRet::IsInitialized() const {
bool HbSendRet::IsInitialized() const {
if ((_has_bits_[0] & 0x0000000
1) != 0x00000001
) return false;
if ((_has_bits_[0] & 0x0000000
3) != 0x00000003
) return false;
return true;
return true;
}
}
void HbSendRet::Swap(HbSendRet* other) {
void HbSendRet::Swap(HbSendRet* other) {
if (other != this) {
if (other != this) {
std::swap(opcode_, other->opcode_);
std::swap(status_, other->status_);
std::swap(status_, other->status_);
std::swap(_has_bits_[0], other->_has_bits_[0]);
std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_);
_unknown_fields_.Swap(&other->_unknown_fields_);
...
...
src/tick_util.cc
浏览文件 @
cc846823
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
#include <netinet/in.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/socket.h>
#include <unistd.h>
#include <unistd.h>
#include "tick_define.h"
int
Setnonblocking
(
int
sockfd
)
int
Setnonblocking
(
int
sockfd
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录