[Released 2.4.4] MNF : Mobile & Network & Framework

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.

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]

1 Like

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 ! :slight_smile:

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.

1 Like

would you share with me your email contact, in case I need your support ?

Hi, MNF has updated v1.1.5.

[v1.1.5]

  • Chat server can send chat message to single client

  • mobile

  • pc

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]?

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 :slight_smile:

Have a good day.

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) :sunglasses:

1 Like

ah, i see :slight_smile:

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

Have a good weekend :smile:

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.

1 Like

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.

If you want Server/Client model, I recommend you use TCP Protocol.
(MNF supports Server/Client model)

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.

1 Like

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.

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

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?

1 Like

Hi, Morothar.
I’m sorry for late reply.

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

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

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

Thanks for your ask. :smile:

Hi, everyone :smile:

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 :smile:

2980482–221631–uploadtool_LookAround.unitypackage (21 KB)

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]

Hi, MNF is updated v2.0.1

[2.0.1]

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