最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

winapi - Is there a Windows API, that connects an SMB share on a custom port? - Stack Overflow

programmeradmin5浏览0评论

I need to connect to an SMB server, that is running on a custom port (e.g. 15623). I know net use supports specifying /tcpport, but I was hoping for a library call such as WNetAddConnection2.

Unfortunately, WNetAddConnection2 does not appear to have a way to specify the port in the UNC path.

Are there other any other functions available that allow specifying SMB server TCP port?

发布评论

评论列表(0)

  1. 暂无评论