本文介绍了C#如何修改此开源项目以翻转连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,您是codeproject的新手,正在寻求帮助(也在其他地方寻求帮助,但他们似乎并不知道)


好的,我遇到的问题是我已经下载了一个开源C#项目(称为yoozy.net-http://yoozy.sourceforge.net/),该项目可让您访问运行yoozy的服务器上的文件.

我想更改它,以使其与服务器应用程序监听客户端相反,而不是通过服务器应用程序监听客户端,因此服务器"应用程序将以这种方式连接到客户端,我将能够使用它来访问我的文件我在学校或父亲时回家.

我有一些c#知识,但是没有套接字和其他东西,我尝试学习并制作了一个聊天应用程序,但是yoozy的两个不同应用程序使用不同的东西相互连接(netstream.cs是不同的),所以我不能只交换流.connect("127.0.0.1",123)for stream.listen();

如果有人可以看一下并帮助我(并告诉我他们做了什么),将不胜感激
谢谢

这是yoozy的来源:http://sourceforge.net/projects/yoozy/files/Yoozy/Yoozy_1.8/yoozy1.8__src.zip/download

first of all, hi new to codeproject looking for some help (asked at other places too but they didnt seem to know)


ok the problem i have is i have downloaded an open source C# project (called yoozy.net - http://yoozy.sourceforge.net/) which allows you to access the files on a server running yoozy

i want to change it so that instead of the server application listening for the client, it does it the opposite way round so the ''server'' app connects to the client this way i will be able to use it to access my files at home when im at school or at my dads.

i have some c# knowledge however not in sockets and stuff and i have tried to learn and made a chat application but the two different apps from yoozy use different things to connect to each other (netstream.cs are different) so i cant just swap stream.connect("127.0.0.1",123) for stream.listen();

if someone could have a look and help me (and tell me what they did) it will be appreciated
thankyou

here is the source for yoozy : http://sourceforge.net/projects/yoozy/files/Yoozy/Yoozy_1.8/yoozy1.8__src.zip/download

推荐答案



这篇关于C#如何修改此开源项目以翻转连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 04:21