Giter Site home page Giter Site logo

juhgiyo / epserverengine.cs Goto Github PK

View Code? Open in Web Editor NEW
61.0 14.0 27.0 1.87 MB

Visual C# IOCP TCP Server/Client Engine

Home Page: http://www.codeproject.com/Articles/832818/EpServerEngine-cs-A-lightweight-IOCP-TCP-Template

License: MIT License

C# 100.00%

epserverengine.cs's Introduction

EpServerEngine.cs

Visual C# IOCP TCP Server/Client Engine

DESCRIPTION

EpServerEngine.cs is a Visual C#+ software framework that supports the development of server/client application under a MIT License. It handles all the initialize/usage Socket library, which is time consuming task. EpServerEngine.cs supports Visual C# 2012. Source can be downloaded at EpServerEngine.cs

Nuget Package

Nuget Package

FEATURES

  • Easy to build server/client application.
    • Just implement Packet Structure and callback class for your server/client, and EpServerEngine.cs will do rest for you.
    • No need to spend the time for handling thread synchronization.

What is in the EpServerEngine?

  • General

    1. Packet
    2. Packet Serializer
  • Client Side

    1. IOCP TCP
      • IOCP TCP Client
  • Server Side

    1. IOCP TCP
      • IOCP TCP Server
      • IOCP TCP Socket

USAGE

To find the usage examples, please see the wiki page

REFERENCE

LICENSE

The MIT License

Copyright (c) 2014 Woong Gyu La <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

epserverengine.cs's People

Contributors

bitdeli-chef avatar juhgiyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

epserverengine.cs's Issues

Document out of date

hi, juhgiyo
Great job for the engine.
I just want to know what is the concept of the Room class and how to use. The document seems to out of date.
Thank you for your reply.

Cannot access a disposed object.

Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'. > at System.Net.Sockets.Socket.EndAccept(IAsyncResult asyncResult)
at System.Net.Sockets.TcpListener.EndAcceptTcpClient(IAsyncResult asyncResult)
at EpServerEngine.cs.IocpTcpServer.onAccept(IAsyncResult result) in d:\projects\c#\ServerGps\v1.0.0\EpServerEngine.cs\EpServerEngine.cs\ServerSide\IOCP\IocpTcpServer.cs:line 462

Room的概念

您好,请问最新的代码中Room的概念为何,以及怎么使用?

OnServerAccepted callback function does not get called

Hi Woong

This is a great project, very easy to use and powerful.

I was trying to use it in my project last night, but got in a little bit trouble, the OnServerAccepted function never gets called.

Is this a bug or just I did something wrong please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.