Welcome Guest Search | Active Topics | Members | Log In | Register

Listening on multi-port Options
gang
Posted: Friday, April 25, 2008 12:23:03 PM
Rank: Newbie
Groups: Member

Joined: 4/25/2008
Posts: 5
Points: 10
Hi,
I have started a project that implement a web server and dns server, it may work synchronously on difference port. i don't know whether XF.Server has ability to listen on multi-port, and any potential restriction ? and can you send me the price to my email ?

thank you for providing amazing product.

gang
gang
Posted: Friday, April 25, 2008 1:01:13 PM
Rank: Newbie
Groups: Member

Joined: 4/25/2008
Posts: 5
Points: 10
i compiled the sample app in Visual C# 2008 Express, it reported an exception when running (my windows version is Vistal ultimate x64, amd 64), and my project only contain the following code will also report similar errors when running.

Code:

XF.IServer server=new XF.Server();


System.BadImageFormatException was unhandled
Message="Could not load file or assembly 'XF.Server, Version=1.0.2978.6692, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Source="MyServer"
FileName="XF.Server, Version=1.0.2978.6692, Culture=neutral, PublicKeyToken=null"
FusionLog="=== Pre-bind state information ===\r\nLOG: User = my-PC\\my\r\nLOG: DisplayName = XF.Server, Version=1.0.2978.6692, Culture=neutral, PublicKeyToken=null\n (Fully-specified)\r\nLOG: Appbase = file:///D:/MyServer/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : MyServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: No application configuration file found.\r\nLOG: Using machine configuration file from C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\config\\machine.config.\r\nLOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).\r\nLOG: Attempting download of new URL file:///D:/MyServer/bin/Debug/XF.Server.DLL.\r\nERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.\r\n"
StackTrace:
at MyServer.Program.Main()
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
admin
Posted: Friday, April 25, 2008 1:14:57 PM
Rank: Administration
Groups: Administration

Joined: 2/15/2008
Posts: 130
Points: 835
admin
Posted: Friday, April 25, 2008 1:16:56 PM
Rank: Administration
Groups: Administration

Joined: 2/15/2008
Posts: 130
Points: 835
Hello,

The upcoming XF.Server release provides great features for multi-connection(multi-port) servers. The fact that all network I/O is processed using the common engine allows to reduce resources and improve performance.
Moreover you can set processing priorities to the server end-points and handle high load cases according to your business logic.

One of the great examples for the multi-connection servers is an FTP server. Assume how responsive it would become if a control connection had higher processing priority.
gang
Posted: Friday, April 25, 2008 11:09:52 PM
Rank: Newbie
Groups: Member

Joined: 4/25/2008
Posts: 5
Points: 10
thanks for you help, it works !

Adrian
Posted: Monday, August 24, 2009 3:57:49 AM
Rank: Member
Groups: Member

Joined: 3/3/2009
Posts: 4
Points: 12
Location: Germany
Hi.

Last weekend Microsoft sent out new .NET Framework Updates and again the error was occuring:

"Could not load file or assembly 'XF.Server' ... BadImageFormatException was unhandled"

So workaround was to run again:

C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow

Please for future releases of XF.Server.dll can you set Properties > Build > Platform target to "x86"

Thanks!
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.6 (NET v2.0) - 11/14/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.100 seconds.
14 queries (0.027 seconds, 27.00%).

yaf_pageload: 0.005
yaf_topic_info: 0.002
yaf_forum_list: 0.005
yaf_category_simplelist: 0.001
yaf_forum_listpath: 0.001
yaf_forum_listpath: 0.001
yaf_post_list: 0.003
yaf_usergroup_list: 0.001
yaf_usergroup_list: 0.001
yaf_usergroup_list: 0.002
yaf_usergroup_list: 0.001
yaf_usergroup_list: 0.001
yaf_usergroup_list: 0.001
yaf_active_listtopic: 0.002