Git Product home page Git Product logo

crossroads-net's People

Contributors

jgoz avatar scottstephens avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

scottstephens

crossroads-net's Issues

Change error handling for connect/bind

Would it be possible to check the error codes from xs_connect/xs_bind in the following way:

negative number means error
0 or greater means success

If this change is implemented, I can safely commit the "partial socket shutdown" patch to libxs.

Martin

Sometimes hanging calling Context.Create()

Hi,

It seems that sometimes when I start my application, it hangs forever. When I go to debug the problem (usually by restarting and remote debugging), the application is hanging on Context.Create()

Do you know why this would be? It seems to be a Windows related issue as I've never seen it in Linux.

Any help would be greatly appreciated.

Thanks,
Calvin

ARM platform

Any plan to support ARM platform? I have a beaglebone running Ubuntu/Mono that I would like to use this messaging framework on.

Non-blocking Socket.Send (a bit too non-blocking)

I've got my copy of crossroads-net from github (cloned) so it is the latest version.
I'm using libxs 1.2.0; .NET 4.5; Win7 x64 (but all libs are 32bit)
My problem is:

sock.Send(data, data.Length, SocketFlags.None);

What should happen (and does in C/C++):
This expression should block current thread and wait until data is received by another socket.

What is really happening:

Console.Write("A");
sock.Send(data, data.Length, SocketFlags.None);
Console.Write("B");

If server (socket receiving data) is not running, it prints 'AB' and exits.
If I add something like 'wait key' and then run server, data is being received.

It would be nice to have blocking version of Socket.Send.

Thank you.
And I apologize for my English.

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.