Suneido

Integrated Application Platform

  • Home
  • Learning
    • Suneido Manual
    • Beginners
      • Inside Suneido
      • The Suneido Programming Language
      • The Suneido Database
      • Installing Suneido
      • Building Suneido
      • IDE Go To Tour
      • Upgrading To A New Release
    • Advanced
      • Canvas Control
      • DrawControl Part 1
      • DrawControl Part 2
      • DrawControl Part 3
      • SAX Like XML Processing
      • A Plug-In Architecture
      • A Simple Wizard Framework
      • An HTML Include Facility
      • An RSS 2 Feed Creator
      • MIME Generation
      • A New Add-on Facility
      • Workspace Improvement Hack
    • Mockito for Suneido
    • The Suneido Task Scheduler
    • Contributing To Suneido
    • Contributor Assignment of Copyright
    • Language Translation
    • Future Directions
    • Interview With Andrew Mckinlay
  • Forum
    • Announcements
    • Internals & Enhancements
    • Cookbook
    • General
  • FAQ
  • Screenshots
  • Downloads
  • Links

Re: Re: Client/Server file access

Integrated Application Platform › Forums › General › Client/Server file access › Re: Re: Client/Server file access

February 18, 2012 at 6:08 pm #918
amckinlay
Keymaster

Suneido doesn’t haven’t anything for this (yet). I see on Windows zero-copy is done with the TransmitFile function which needs a file handle an a socket handle.

Currently, if you use Suneido’s built-in File and SocketClient classes, there is no way to get the Windows handles, although this could probably be added.

Another option would be to use the Windows api to open the file and socket so you would have the handles. There is a wrapper in stdlib for the Windows api CreateFile function, but I don’t think there is anything similar for sockets, although it probably wouldn’t be hard to add.

I wonder how much difference it would make. Network is slow, relatively. It would put less load on the cpu, but these days we usually have lots of cpu to spare.

Search Forums

Log In
Welcome to the new Suneido Web Site and Forum.
Register
Lost Password
users of the previous PHPBB Forum should be able to log in with their previous username and password.

Recent Topics

  • Alpha copy of gSuneido to play with
  • how to start jsuneido ?
  • Problem Starting Suneido…
  • Dialog not showing buttons
  • New link for Suneidojo

Contact Us | Legal Statement | Privacy Statement | SiteMap

Copyright © 2023 Axon® Development Corporation. All Rights Reserved. - Open Source Integrated Database and Programming Language