Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第二次开启的时候出现server already exists怎么办? #1

Open
applehub opened this issue Aug 8, 2017 · 7 comments
Open

Comments

@applehub
Copy link

applehub commented Aug 8, 2017

第二次开启的时候出现server already exists怎么办?

@applehub
Copy link
Author

applehub commented Aug 8, 2017

我知道了,把生成的那个端口删掉就可以了。还想问一下,我现在想简化一点,不是聊天室,而是一个服务端,两个客户端,客户端之间可以互传文件和信息。也是要用makefile编译、怎么简化你这个代码。小白初学......

@applehub
Copy link
Author

applehub commented Aug 8, 2017

在这个代码的基础上如何增加文件传输的功能呢?

1 similar comment
@applehub
Copy link
Author

applehub commented Aug 9, 2017

在这个代码的基础上如何增加文件传输的功能呢?

@miluer miluer closed this as completed Aug 10, 2017
@miluer miluer reopened this Aug 10, 2017
@miluer
Copy link
Owner

miluer commented Aug 10, 2017

你说的俩个客户端互传消息是指利用另一个服务器打洞实现文件传输吧,只是简单的文件传输拆包后循环的接收就行了

@applehub
Copy link
Author

拆包循环接收,这个思路网上倒是知道,但是我不会在你这个代码的基础上修改(主要是时间紧急不然就慢慢研究了),大神有时间加入这个功能吗?原题目如下图:
image

@applehub
Copy link
Author

要求用C或者C++来写,我看网上很多java的.....

@applehub
Copy link
Author

能不能加入这个功能呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants