Search Unity

[Released 2.4.4] MNF : Mobile & Network & Framework

Discussion in 'Assets and Asset Store' started by MNF_Devloper, Feb 11, 2016.

  1. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    MNF uses UNet for only one example, and UNet is MNF's 3third pary. The core function of MNF has nothing to do with Unity UNet.

    MNF is mobile network framek work.
    - Link : http://u3d.as/nCb

    MNF can provide stand alone library (DLL), so you can apply other platforms.
    This package includes Console Example that is developed C# and C++ native.

    Features:
    - TCP Server / Client (Various protocols)
    - UDP Reliable/Unreliable
    - Look Around other device in Wi-Fi
    - Broadcast Custom Message in Wi-Fi
    - Full Source Code
    - Support Wi-Fi Direct Environment. (Wi-Fi Direct itself supports mobile devices that operate normally)

    Tested Platforms:
    - iOS and Android (IL2CPP)
    - UWP Simulator (.Net 4.6 on Windows 10)
    - OSX and Windows (Mono)

    Examples:
    - Echo Server/Client
    - Chatting Server/Client
    - File Trans Server/Client
    - Reliable/Unreliable
    - Search for other devices on Wi-Fi
    - Send Message other devices on Wi-Fi
    - SuperSocket Server with MNF Client
    - Multi Chatting Server/Client

    Download MNF (APK / Windows)

    Thanks Good Feedback, Advice
    Louis, Christian, Vito, Aidan, Michael, Jakub, William, gondo, luis, Tom, Ramin, Valentin, darydol, faizol, rayfoundry, Relinq, arcadeindy, William, Moritz, Paden, simonas, David, John, Moritz, Skatola, heroes1, LostPanda, johaswe, Aracon, sagarkar, yuhacrows, planetmatrix, antstevensunity, rodrigozol

    Movies:
    [Udp Ball]


    [Look Around]


    [Server / Client Chat]


    [File Trans - on OSX]


    [Other Example Video]
    - Echo Server/Client
     
    Last edited: May 1, 2019
    Simplexws likes this.
  2. louis2009

    louis2009

    Joined:
    Jun 4, 2013
    Posts:
    9
    hello,

    May I double confirm does your asset before purchase it ?
    1.) It can run in mobile and Window platform as server or client ?
    2.) I can use your asset communicate each others between unity 3D and C# native application ?
    3.) Can you tell me more about your coming update UDP P2P ? e.g: what can it do, what different between your exiting function
    4.) When UDP P2P release ?

    Many thanks ! :)
     
    Last edited: Aug 15, 2016
  3. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    hi, thank you for your interest.

    1.) It can run in mobile and Window platform as server or client ?
    >> yes, mnf can run android mobile and windows server.
    2.) I can use your asset communicate each others between unity 3D and C# native application ?
    >> yes, you can. mnf is developed c# 2.0 native code.
    3.) Can you tell me more about your coming update UDP P2P ? e.g: what can it do, what different between your exiting function
    >> p2p can communicate each mobile by udp packet. and unreliable/reliable send possible.
    4.) When UDP P2P release ?
    >> maybe udp p2p releases in this year.
     
    Simplexws likes this.
  4. louis2009

    louis2009

    Joined:
    Jun 4, 2013
    Posts:
    9
    would you share with me your email contact, in case I need your support ?

     
  5. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, MNF has updated v1.1.5.

    [v1.1.5]
    - Chat server can send chat message to single client

    - mobile


    - pc
     
  6. tdneren2

    tdneren2

    Joined:
    Sep 29, 2013
    Posts:
    14
    Hello - I have tried to make a Wifi Hotpot on my one Sony Xperia Z1 phone (Android Lollipop 5.1) and connected my other Sony Xperia Z1 phone (Android Lollipop 5.1) as client -> thereafter I have opened a published version of your starter (with all 8 scenes build-included). Al though the two phones is displayed as connected (hotspot-phone as "server" and connected as "client") I am not able to "send message" or "broadcast" [no message turns up on either phones unity-app]?
     
  7. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    hi, tdneren2.
    Thank you for your interest to MNF.

    Could you share your test phone screenshot?
    Could you share MNF log file to me?

    If you share those to me, maybe I can help you.

    You can send email to me
    I will wait your reply :)

    Have a good day.
     
  8. tdneren2

    tdneren2

    Joined:
    Sep 29, 2013
    Posts:
    14
    ok, thanks - I have now done the test -> logs (+ screenshots along), but do you want me to post them here or should I send them to your direct-mail? (cannot find your mail in this forum) :cool:
     
    MNF_Devloper likes this.
  9. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    ah, i see :)

    Maybe we will send many files.
    So I recommend you send email.

    Have a good weekend :D
     
    Last edited: Nov 12, 2017
  10. hierro__

    hierro__

    Joined:
    Sep 22, 2014
    Posts:
    59
    Hi, i need to publish an android app that has to be distributed on several devices, connected in a lan, and receiving UDP data from a single server, Can your asset help me on this? thank you.
     
    MNF_Devloper likes this.
  11. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Now MNF can't help you.
    But It can help you after next version update.
    (Next Version number is 1.2.0)

    I have a question. Why do you use udp protocol?
    I think you want server/client model.
    - https://drive.google.com/open?id=0B0E9dZSI60JIMm4xSDFVTUFjUUU

    If you want Server/Client model, I recommend you use TCP Protocol.
    (MNF supports Server/Client model)
     
    Last edited: Dec 23, 2016
  12. hierro__

    hierro__

    Joined:
    Sep 22, 2014
    Posts:
    59
    Hi, actually i need a fast protocol, cos i'm sending data continuosly, so tcp is not fast enough to garantee a mechanism, like videogame servers, to synch characters movement into a map.
    I think best solution is to use an UPD multicast and let the router do the job.



     
    MNF_Devloper likes this.
  13. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    I'm very late. So sorry.

    You're right. Udp is fast than tcp.
    However, if nagle is turned off, tcp can be as fast as udp.

    Now MNF is updated version 1.2.1.
    MNF can support reliable udp, look around other devices in Wi-Fi.

    Thanks regards.
     
  14. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, MNF is updated v1.2.1.

    [1.2.1]
    - Example Refactoring

    [1.2.0]
    - Reliable UDP
    - Look Around other device in Wi-Fi
    - JSON protocol messge change
    - Refactoring MNF Examples

     
  15. Morothar

    Morothar

    Joined:
    Dec 3, 2009
    Posts:
    25
    I have two Unity projects that I want to connect and communicate between. So, one Server project and one client project. The client need to be able to find out if a server is running (via broadcast?) and connect to it. Is this possible with MNF?
     
    MNF_Devloper likes this.
  16. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Morothar.
    I'm sorry for late reply.

    MNF is able to find out a server in Wi-Fi.
    스크린샷 2017-02-07 오후 5.51.11.png

    MNF supports server/client and model via TCP.
    스크린샷 2017-02-07 오후 5.50.57.png

    MNF supports p2p model via UDP.
    스크린샷 2017-02-07 오후 5.51.03.png

    Thanks for your ask. :D
     
  17. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, everyone :D

    Do you want to find out devices in Wi-Fi?
    You can find out via 'LookAround in Wi-Fi' Asset.
    It's very easy and simple. Just call start(), get().

    [Diagram]


    [Scene]


    [Unity3d Example]


    [Console Example]


    Tested Platforms:
    - Windows (x64)
    - OSX
    - Android (Mono / IL2CPP)

    This 'LookAround in Wi-Fi' Asset is free.
    I hope it will help many people.

    Have a good day :D
     

    Attached Files:

  18. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, MNF is updated v2.0.0

    [2.0.0]
    [2.0.0]
    - Support Custom Protocol
    - Support SurperSocket Protocol (FixedHeaderReceiveFilter)
    - Refactoring Example
    - Refactoring MNF Core Library

    [SuperSocket Reference]


    [SuperSocket Command Example]


    [SuperSocket FixedHeaderReceiveFilter Example]
     
  19. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
  20. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Everyone. MNF is updated v2.0.2

    Finally, MNF supports iOS via IL2CPP.
    MNF now supports both iOS and Andorid via IL2CPP.

    [2.0.2]
    - Support iOS IL2CPP
     
  21. RandAlThor

    RandAlThor

    Joined:
    Dec 2, 2007
    Posts:
    1,293
    I am not sure. This has nothing to do with Unet right?
    So if i want to use this and also want to syincronize animations and such i have to program everything by myself?
     
    MNF_Devloper likes this.
  22. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, RandAIThor.

    MNF was developed to enable low-level networks on mobile.
    So MNF does not support animation synchronization.
    There is no plan to support this feature yet.

    Tell me if you have the features you need.
    If implementation is not difficult, I will try to make it as possible as possible.

    Have a good day :D
     
    Last edited: Mar 22, 2017
  23. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Everyone.
    MNF is updated v2.0.4

    [2.0.4]
    - Add an asyncSend member function, an asynchronous transfer function, to TCPSession
    - Change the send_ member function of TCPSession to syncSend
     
  24. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Everyone.
    MNF is updated v2.1.0.

    [2.1.0]
    - Added the ability to check MD5 / AES for Protocol that are communicating and add examples
    - Refactoring MNF Library, Example
     
  25. finx

    finx

    Joined:
    Mar 31, 2017
    Posts:
    6
    Hello I would like to know if this asset serves me to connect a PC with an android tablet. I'm making a game where you play from a tablet and see everything through a pc that will show everything on a 4k TV in real time, clarto that on the television will not always see the same as the tablet only when you press play Transmit what happens on the tablet.
     
    MNF_Devloper likes this.
  26. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi finx,

    Do you want these step?

    1. Your tablet connect to PC. (PC is connected 4k TV)
    2. PC will show everything throught 4k TV.
    3. You play with tablet.
    4. Your tablet will send game play data to PC.

    Is right? I'm sorry, I don't understand everything :(
    Below is my answer.

    1. Your tablet connect to PC. (PC is connected 4k TV)
    > MNF can support server/client(TCP), p2p(UDP) models, so it's possible.
    > I reommand server/client model.
    > I think that PC will be server and Tablet will be client.


    2. PC will show everything throught 4k TV.
    3. You play with tablet.
    > Maybe this is your part.

    4. Your tablet will send game play data to PC.
    > MNF's server/client are possible to send some data .
    > But I don't know what is play data.
    > I think that play data is tablet display streaming. Is right?
    > If it's right, MNF can support. But I don't recommend it.
    > Because it is very inefficient.

     
  27. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, 'LookAround in Wi-Fi' is updated.

    This asset is very easy and simple.
    Just call start(), get().

    [Diagram]


    [Unity3d Example]


    [Console Example]


    Tested Platforms:

    - Windows (x64)
    - OSX
    - Android / iOS (IL2CPP)

    Have a good day :D
     
    Last edited: Aug 7, 2017
    Muckel likes this.
  28. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Everyone.
    MNF is updated v2.1.2.

    [2.1.2]
    - Some bug fixes
    - Full source code

    Have a good day :D
     
    Last edited: Jun 22, 2017
  29. LostPanda

    LostPanda

    Joined:
    Apr 5, 2013
    Posts:
    173
    hello nsjokt MNF include HeartBeat?thanks
     
    MNF_Devloper likes this.
  30. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hello. :)
    The heartbeat feature is not implemented.
    But if you want, I can make and update it.

    I have a question.
    Do you want to check the heartbeat in tcp?

    It will be updated soon.
    Have a goo day :D
     
    Last edited: Jun 22, 2017
  31. Ramboh

    Ramboh

    Joined:
    Mar 1, 2017
    Posts:
    4
    Hello,

    I am looking for an asset that allows me to have a client and a server connect and exchange messages using the same LAN/Wifi without having to use a Lobby system. Does MNF allow this? The demos that you show are all on the same machine so I am not sure if this is going to work.

    Thanks in advance,
     
    MNF_Devloper likes this.
  32. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, :D

    MNF can allow server/client model in wifi without lobby system.
    (Server/Client network model uses TCP/IP)

    And MNF can communicate with other equipment.

    -- Server has public IP or same LAN/wifi IP --
    PC <-> Device(iOS/Android)
    Notebook <-> Device(iOS/Android)
    Device(iOS/Android) <-> Device(iOS/Android)

    Thanks your interest :D
     
  33. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, LostPanda

    I'm sorry, I'm very late.

    I have updated heartbeat feature to MNF asset and example repository.
    You can see it in example repository.

    Scritp/2_Echo/Client/EchoClientBinaryMessageDispatcher.cs
    Scritp/2_Echo/Client/EchoClientJsonMessageDispatcher.cs
    Scritp/2_Echo/Server/EchoServerBinaryMessageDispatcher.cs
    Scritp/2_Echo/Server/EchoServerJsonMessageDispatcher.cs
    Scritp/2_Echo/Server/EchoServerBinarySession.cs
    Scritp/2_Echo/Server/EchoServerJsonSession.cs
    Scritp/2_Echo/Server/MNF_EchoServer.cs
    Script/Protocol/Protocol.cs
    And SuperSocket example in VS_Example solution.
    (It can see only next Assets 2.1.4 version)

    Have a good day :D
     
  34. Muhamad_Faizol

    Muhamad_Faizol

    Joined:
    Jan 21, 2017
    Posts:
    47
    Hi,

    I just bought this asset, and tried to test it on my devices (both Androids). However the devices failed to connect to each other (I must have missed something during the setting up process). Is it possible to list the steps needed to generate the apk as a general guide to new buyers?

    Plus, is it possible to port the asset so that it could run on Linux desktop too? In most cases the example programs couldn't accept inputs after "start server" or "start client" button was pressed.

    Thanks.

    Cheers,
     
    Last edited: Aug 2, 2017
    MNF_Devloper likes this.
  35. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Muhamad_Faizol.

    I think that you have to check below step.
    1. Android build log
      1. Build error log
    2. Android Devices log
      1. Error / Exception in Devices
    3. Android Devices have same Wi-Fi
      1. It is very important.
    MNF was not tested on linux, was tested on osx, windows.

    Could you send me a androids log and linux log?
    I have to see your logs because it is required for analysis.

    And could you use Skype and TeamViewer?
    If you can, I will help you via them.

    ps. I have received your email and thanks your detail feedback.

    Have a good day :D
     
  36. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Everyone.
    MNF is updated v2.1.5.

    [2.1.5]
    - Support UWP (Windows 10 - simulator)
    - Remove unused files
    - Fixed some bugs
    - Change Network API (SocketAsyncEventArgs)
     
  37. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Everyone.

    MNF will be updated v2.1.6 soon.
    MNF 2.1.6 will have below example.

    [Version 2.1.6 - File Trans - on OSX]


    [2.1.6]
    - Add File Trans Example Scenes
    - Fixed some bugs

    Thanks darydol.

    Have a good day :D
     
    Last edited: Aug 10, 2017
    LostPanda likes this.
  38. darydol

    darydol

    Joined:
    May 19, 2017
    Posts:
    9
    Thank you
     
    MNF_Devloper likes this.
  39. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi, Everyone.

    MNF has updated 2.1.8.

    MNF iOS/Android build guide has updated.
    (Ovidiu, thank you very much for giving me some good advice)

    MNF can send packets to the device registered in the same wifi through LookAround.

    [Look Around]
     
    Last edited: Aug 23, 2017
  40. rayfoundry

    rayfoundry

    Joined:
    Jan 5, 2017
    Posts:
    1
    Hi nsjokt,

    bought your asset and am playing with it. The LookAround service works quite good. The method LookAround.Instance.GetResponseEndPoint() does however return clients which are not on the network anymore.

    Testcase:
    1. Have one client set as server, the other one as client. Then "LookAround". Everything works.
    2. Turn off client device.
    3. LookAround.Instance.GetResponseEndPoint() on "server" does still return client device ip (forever).

    Only way to prevent this is to start server application new.

    It's maybe not so much a bug but a feature request: Can you add functionality for a timeout. Where the LookAround service clears all EndPoints identified and builds them new when a message is received?
     
  41. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi rayfoundry,

    Thank you for your interest in MNF.

    The functionality you talked about can be implemented right away.
    I'll implement and let you know right away.

    Thank you for telling a good opinion.

    Have a good day :D
     
  42. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hi rayfoundry,

    I added the timeout feature you mentioned in LookAround. It will now be deleted if it does not respond within the specified time.

    Thanks to the added features. Thank you very much.

    I would like to send my work to you by mail, are you ok?
     
  43. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    LostPanda likes this.
  44. arcadeindy

    arcadeindy

    Joined:
    Feb 4, 2013
    Posts:
    8
    hi,

    I would like to see new example : DbDispatcher execute() function from messageque for login server.

    Thank you.
     
    MNF_Devloper likes this.
  45. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Hello,

    I'm going to create a DBDispatcher.execute () example that hooks up the login server and mysql.
    I would appreciate it if you can confirm that this is what you want.

    Have a good day :D
     
    arcadeindy likes this.
  46. Kennyggg

    Kennyggg

    Joined:
    Feb 8, 2017
    Posts:
    10
    Hi dev,

    I recently purchased this asset. My question is can this help me mirror what my gear vr can see to windows .exe build? Also I'm having trouble with the UDP client scene, I can't have the two programs display the ball animations just like in the video demonstration. Thank you
     
    MNF_Devloper likes this.
  47. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    Sorry for the late reply.

    It is expected that there will be two methods.

    1. Capture the scene shown in the gear VR and send the packet to the Windows build.
    2. Creates a packet of events from the gear VR and sends it to the Windows device.

    Of these two, I recommend 2.
    No. 1 should probably use a video codec, and it is not scalable.
     
    Kennyggg likes this.
  48. Kennyggg

    Kennyggg

    Joined:
    Feb 8, 2017
    Posts:
    10
    Thank you for your reply. But I'm still new to Unity and currently developing my thesis. I appreciate your support but I seem to find hurdles with your asset. With that I would like a refund, If you can show me how to do it step-by-step It can change my decision. Very sorry for the request because I'm lacking the time and funding.
     
  49. MNF_Devloper

    MNF_Devloper

    Joined:
    Dec 22, 2015
    Posts:
    145
    I'm sorry for your inconvenience.
    It is possible to develop the function you want, but now it seems to be difficult to support because I'm working on other functions. I will process the refund by e - mailing the purchase history to me.

    However, the Udp Client does not work, but I would appreciate it if you send me the Udp Client log file.
    Within the same WiFi iOS <-> Android, Mac <-> iOS, this was not a problem when tested, but it seems to need to check for other issues.

    I hope to see good results in the ongoing projects.
     
    Last edited: Sep 14, 2017
  50. Kennyggg

    Kennyggg

    Joined:
    Feb 8, 2017
    Posts:
    10
    Thank you. I sent the purchase history.